|
| | ServiceBase (const unsigned int myscope_) |
| | Constructor : to be used by inherited classes. More...
|
| |
| void | HttpErrorAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ec, const char *em) |
| | HttpErrorAction : Error Action Template no payload maybe template. More...
|
| |
| void | HttpErrorAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ec, const char *em, std::string payload) |
| | HttpErrorAction : Error Action Template with payload no template. More...
|
| |
| void | HttpOKAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ec, const char *em, const char *content_type, std::string &payload, bool add_cors) |
| | HttpOKAction : OK Action template. More...
|
| |
| bool | JsonRequest (typename HttpServerT::ReqPtr request) |
| | JsonRequest : Check if request is json from Content-Type and Accept fields. More...
|
| |
| bool | ProtoRequest (typename HttpServerT::ReqPtr request) |
| | ProtoRequest : Check if request is protobuf from Content-Type and Accept fields. More...
|
| |
| bool | SharedSecretOK (typename HttpServerT::ReqPtr request, std::string sharedkey) |
| | SharedSecretOK : Check if shared key header is present and ok. More...
|
| |
| int | ServiceName (typename HttpServerT::ReqPtr request) |
| | ServiceName : Check protobuf request service name. More...
|
| |
| void | ServiceOKAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, std::string &payload) |
| | ServiceOKAction : OK Action template for service. More...
|
| |
| void | ServiceOKAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, std::string &&payload) |
| | ServiceOKAction : OK Action template for service. More...
|
| |
| void | ServiceErrAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ecode, std::string &emsg) |
| | ServiceErrAction : Error Action template for service. More...
|
| |
|
const unsigned int | myscope |
| |