30#ifndef PT_JSONRPC_HTTPSERVICE_H
31#define PT_JSONRPC_HTTPSERVICE_H
33#include <Pt/JsonRpc/Api.h>
34#include <Pt/Http/Service.h>
45class ServiceDeclaration;
HTTP request message.
Definition Request.h:65
Handles one HTTP request and writes the reply.
Definition Responder.h:109
Factory for request responders.
Definition Service.h:77
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.
virtual Http::Responder * onGetResponder(const Http::Request &request)
Creates a responder to handle request received by a server.
virtual ~HttpService()
Destructor.
Declares named parameter mappings for JSON-RPC procedures.
Definition ServiceDeclaration.h:49
Remote service definition.
Definition ServiceDefinition.h:59
JSON-RPC 2.0 services and clients.
Remote services and clients.
Definition HttpService.h:39
Core module.
Definition Allocator.h:33