Library: OSP/WebEvent
Package: WebEvent
Header: Poco/OSP/WebEvent/WebEventRequestHandler.h
This class handles an incoming WebSocket upgrade request, as well as the SUBSCRIBE message. Once the WebSocket connection has been established and the SUBSCRIBE request has been handled, the WebSocket is transferred to the WebEventServiceImpl instance.
Direct Base Classes: Poco::Net::HTTPRequestHandler
All Base Classes: Poco::Net::HTTPRequestHandler
Member Functions: handleRequest
Inherited Functions: handleRequest
Destroys the WebEventRequestHandler.
WebEventRequestHandler(
WebEventServiceImpl::Ptr pWebEventServiceImpl,
Poco::OSP::BundleContext::Ptr pContext
);
Creates the WebEventRequestHandler.
void handleRequest(
Poco::Net::HTTPServerRequest & request,
Poco::Net::HTTPServerResponse & response
);
Handles an incoming WebSocket upgrade request, as well as the SUBSCRIBE message.