class used for handling chunked requests and responses in services
More...
|
| constructor (hash< auto > cx, *hash< auto > ah) |
| creates the object from an inbound request More...
|
|
| constructor () |
| creates the object and sets the service context for logging
|
|
| log (int ll, string fmt) |
| logs to the service log file
|
|
|
code | slog |
| service logging method call reference
|
|
class used for handling chunked requests and responses in services
◆ constructor()
OMQ::AbstractServiceStream::constructor |
( |
hash< auto > |
cx, |
|
|
*hash< auto > |
ah |
|
) |
| |
creates the object from an inbound request
- Parameters
-
cx | call context hash; this hash will have the following keys:
socket: the bind address used to bind the listener ("socket-info" provides more detailed information)
socket-info : a hash of socket information for the listening socket (as returned by Socket::getSocketInfo())
peer-info : a hash of socket information for the remote socket (as returned by Socket::getPeerInfo())
url: a hash of broken-down URL information (as returned from parse_url())
id: the unique HTTP connection ID
listener-id : the HTTP server listener ID (see HttpServer::getListenerInfo())
user: the current RBAC username (if any)
hdr: a hash of header information as returned by Socket::readHTTPHeader()
body: the deserialized message body
aih: a hash of "Accept" values
|
ah | any URI arguments in the request |
The documentation for this class was generated from the following file: