OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
REST Namespace Reference

Functions

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

Function Documentation

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

Definition at line 31 of file rest_common.cc.

Here is the call graph for this function:

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

Definition at line 15 of file rest_common.cc.

Here is the call graph for this function: