Class Poco::Net::HTTPServerConnection (original) (raw)

Library: Net
Package: HTTPServer
Header: Poco/Net/HTTPServerConnection.h

Description

Inheritance

Direct Base Classes: TCPServerConnection

All Base Classes: TCPServerConnection, Poco::Runnable

Member Summary

Member Functions: onServerStopped, run, sendErrorResponse

Inherited Functions: run, socket, start

Constructors

HTTPServerConnection

HTTPServerConnection(
const StreamSocket & socket,
HTTPServerParams::Ptr pParams,
HTTPRequestHandlerFactory::Ptr pFactory
);

Destructor

~HTTPServerConnection virtual

virtual ~HTTPServerConnection();

Member Functions

run virtual

void run();

Handles all HTTP requests coming in.

onServerStopped protected

void onServerStopped(
const bool & abortCurrent
);

sendErrorResponse protected

void sendErrorResponse(
HTTPServerSession & session,
HTTPResponse::HTTPStatus status
);