Package DE_EPAGES::WebInterface::API::Object::WebAdapterShared
send response to webadapter
Functions
receive
Receives all HTTP headers that are sent from the web adapter from the client socket. Exports the known key value pairs to the environment in order to emulate a CGI environment via serverVariables. This function will also be called if the connection from a WA was closed, so we cannot simply die on an error - we have to return undef instead to give the caller the chance to handle this case.
Syntax |
($Request, $hServerVariables) = $WebAdapter->receive(); |
Return |
|
send
Sends the content of the buffered output data to the client socket. the Application server sets the Socket File Descriptor via setSockedFD before.
Syntax |
$WebAdapter->send( $Response ); |
Input |
|