OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rest_common.cc File Reference
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <http/http_session.h>
#include <base/string_util.h>
#include "rest_common.h"
Include dependency graph for rest_common.cc:

Go to the source code of this file.

Namespaces

 REST
 

Functions

void REST::SendResponse (HttpSession *session, const std::string &msg, int status_code, std::string context)
 
void REST::SendErrorResponse (HttpSession *session, const std::string &error_msg, int status_code, std::string context)