Library: Net
Package: HTTPServer
Header: Poco/Net/HTTPServerConnection.h
This subclass of TCPServerConnection handles HTTP connections.
Direct Base Classes: TCPServerConnection
All Base Classes: TCPServerConnection, Poco::Runnable
Member Functions: run, sendErrorResponse
Inherited Functions: run, socket, start
HTTPServerConnection(
    const StreamSocket & socket,
    HTTPServerParams::Ptr pParams,
    HTTPRequestHandlerFactory::Ptr pFactory
);
Creates the HTTPServerConnection.
 
 virtual ~HTTPServerConnection();
Destroys the HTTPServerConnection.
 
 void run();
Handles all HTTP requests coming in.
See also: Poco::Runnable::run()
 
 void sendErrorResponse(
    HTTPServerSession & session,
    HTTPResponse::HTTPStatus status
);