|
| 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...
|
| |
§ ProtoRequest()
template<class HttpServerT >
ProtoRequest : Check if request is protobuf from Content-Type and Accept fields.
- Parameters
-
| request | typename HttpServerT::ReqPtr request |
- Returns
- bool is proto
§ ServiceErrAction()
template<class HttpServerT >
| void identt::hrpc::ProtoServiceBase< HttpServerT >::ServiceErrAction |
( |
typename HttpServerT::RespPtr |
response, |
|
|
typename HttpServerT::ReqPtr |
request, |
|
|
int |
ecode, |
|
|
std::string & |
emsg |
|
) |
| |
|
inlineprotected |
ServiceErrAction : Error Action template for service.
- Parameters
-
| response | typename HttpServerT::RespPtr response |
| request | typename HttpServerT::ReqPtr request |
| ecode | int error code |
| emsg | std::string& error message |
- Returns
- none
§ ServiceName()
template<class HttpServerT >
ServiceName : Check protobuf request service name.
- Parameters
-
| request | typename HttpServerT::ReqPtr request |
- Returns
- int service id
§ ServiceOKAction() [1/2]
template<class HttpServerT >
| void identt::hrpc::ProtoServiceBase< HttpServerT >::ServiceOKAction |
( |
typename HttpServerT::RespPtr |
response, |
|
|
typename HttpServerT::ReqPtr |
request, |
|
|
std::string & |
payload |
|
) |
| |
|
inlineprotected |
ServiceOKAction : OK Action template for service.
- Parameters
-
| response | typename HttpServerT::RespPtr response |
| request | typename HttpServerT::ReqPtr request |
| payload | std::string& payload |
- Returns
- none
§ ServiceOKAction() [2/2]
template<class HttpServerT >
| void identt::hrpc::ProtoServiceBase< HttpServerT >::ServiceOKAction |
( |
typename HttpServerT::RespPtr |
response, |
|
|
typename HttpServerT::ReqPtr |
request, |
|
|
std::string && |
payload |
|
) |
| |
|
inlineprotected |
ServiceOKAction : OK Action template for service.
- Parameters
-
| response | typename HttpServerT::RespPtr response |
| request | typename HttpServerT::ReqPtr request |
| payload | std::string&& payload |
- Returns
- none
§ SharedSecretOK()
template<class HttpServerT >
SharedSecretOK : Check if shared key header is present and ok.
- Parameters
-
| request | typename HttpServerT::ReqPtr request |
| sharedkey | std::string shared key to compare |
- Returns
- bool is valid
The documentation for this class was generated from the following file: