this abstract class defines the public interface of the private HttpListener class defined in the HttpServer module
More...
|
| abstract | addUserThreadContext (hash< auto > uctx) |
| | adds user-defined data to be returned in the "uctx" context key when serving requests from this listener
|
| |
| | logResponse (hash< auto > cx, hash< auto > rv) |
| | method to log a response message
|
| |
|
| removeExternalDedicatedSocket (softstring id) |
| | Removes a dedicated socket handler from the listener.
|
| |
| abstract auto | removeUserThreadContext (*string k) |
| | removes the given key from the "uctx" context key
|
| |
| abstract | log (string fmt,...) |
| | called to log information to the registered log code
|
| |
| | logArgs (*softlist< auto > args) |
| | calls log() with the given args
|
| |
| abstract | logError (string fmt,...) |
| | called to log error information to the registered error log code
|
| |
| | logErrorArgs (*softlist< auto > args) |
| | calls logError() with the given args
|
| |
this abstract class defines the public interface of the private HttpListener class defined in the HttpServer module
◆ addUserThreadContext()
| abstract HttpServer::HttpListenerInterface::addUserThreadContext |
( |
hash< auto > | uctx | ) |
|
adds user-defined data to be returned in the "uctx" context key when serving requests from this listener
- Parameters
-
| uctx | user-defined data to be returned in the "uctx" context key when serving requests from this listener |
◆ logResponse()
| HttpServer::HttpListenerInterface::logResponse |
( |
hash< auto > | cx, |
|
|
hash< auto > | rv ) |
method to log a response message
- Parameters
-
| cx | the call context |
| rv | the response hash |
◆ removeUserThreadContext()
| abstract auto HttpServer::HttpListenerInterface::removeUserThreadContext |
( |
*string | k | ) |
|
removes the given key from the "uctx" context key
- Parameters
-
| k | the key to remove from the "uctx" context hash; if no argument is provided, then the "uctx" context hash is removed entirely |