![]() |
Qore HttpServer Module Reference
0.9.11
|
this class implements the listeners for the HttpServer class More...

Public Member Functions | |
| deprecated | addHandlers (hash< auto > handler_info) |
| add handlers to the listener More... | |
| addHandlers (hash< string, hash< HttpHandlerConfigInfo >> handler_info) | |
| add handlers to the listener | |
| constructor (HttpServer server, string name, int id, Sequence ss, *hash< HttpListenerOptionInfo > opts) | |
| creates the object with the given parameters More... | |
| removeHandler (HttpServer::AbstractHttpRequestHandler handler) | |
| removeHandler (string handler_name) | |
Static Public Member Functions | |
| static bool | stopIfNoHandlers (HttpServer::HttpListener listener) |
| stop listeners if there are no handlers More... | |
Protected Attributes | |
| bool | get_remote_certs = False |
| get remote certificates | |
| bool | ssl_accept_all_certs = True |
| accept all certificates | |
| int | ssl_verify_flags = SSL_VERIFY_NONE |
| SSL verify flags. | |
| const | SslVerifyMap = ... |
| map for converting ssl verify flags to strings | |
this class implements the listeners for the HttpServer class
this class is private; it's not exported in the module API
| deprecated HttpServer::HttpListener::addHandlers | ( | hash< auto > | handler_info | ) |
add handlers to the listener
| HttpServer::HttpListener::constructor | ( | HttpServer | server, |
| string | name, | ||
| int | id, | ||
| Sequence | ss, | ||
| *hash< HttpListenerOptionInfo > | opts | ||
| ) |
creates the object with the given parameters
| server | the HTTP server |
| name | the listener name |
| id | the listener ID |
| ss | the listener connection sequence |
| opts | listener options |
| HttpServer::HttpListener::removeHandler | ( | HttpServer::AbstractHttpRequestHandler | handler | ) |
Remove handler from the listener.
| INVALID-HANDLER-ERROR | handler is not present in the listener's handler list |
| HttpServer::HttpListener::removeHandler | ( | string | handler_name | ) |
Remove handler from the listener.
| INVALID-HANDLER-ERROR | handler is not present in the listener's handler list |
|
static |
stop listeners if there are no handlers
| listener | listener to stop |