neuray API Programmer's Manual

mi::http::IResponse_handler Class Reference

[HTTP server]

Description

Response handlers can be used to modify responses generated by request handlers. For every response the handlers are asked if they want to modify the response. They will be asked in the order they where added. This all happens after a responsible request handler issued the response.

See also:

mi::http::IServer::install( IResponse_handler*), mi::http::IServer::remove( IResponse_handler*)

Public Member Functions

virtual void handle( IConnection* connection) =0
Handles a response on a connection. More...

Member Functions

virtual void mi::​http::​IResponse_handler::handle( IConnection* connection) [pure virtual]

Handles a response on a connection.

Parameters

connection
The connection on which the response is to be sent.