30 #ifndef PT_JSONRPC_HTTPSERVICE_H
31 #define PT_JSONRPC_HTTPSERVICE_H
33 #include <Pt/JsonRpc/Api.h>
34 #include <Pt/Http/Service.h>
45 class ServiceDeclaration;
83 #endif // PT_JSONRPC_HTTPSERVICE_H
Core module.
Definition: Allocator.h:33
HTTP request message.
Definition: Request.h:44
virtual ~HttpService()
Destructor.
Declares named parameter mappings for JSON-RPC procedures.
Definition: ServiceDeclaration.h:49
HTTP service.
Definition: Service.h:47
Remote service definition.
Definition: Api-ServiceDefinition.h:22
virtual Http::Responder * onGetResponder(const Http::Request &request)
Creates a responder to handle request received by a server.
HTTP service responder.
Definition: Responder.h:50
HTTP service for JSON-RPC 2.0.
Definition: HttpService.h:54
virtual void onReleaseResponder(Http::Responder *resp)
Destroys a responder created by a server.
HttpService(const ServiceDeclaration &decl, Remoting::ServiceDefinition &def)
Constructs with ServiceDeclaration and ServiceDefinition.