Qore HttpServer Module Reference
0.3.6
|
the main namespace for the HttpServer module More...
Classes | |
class | AbstractAuthenticator |
abstract base class for external authentication More... | |
class | AbstractHttpRequestHandler |
abstract class that all HTTP request handler objects must inherit from More... | |
class | HttpServer |
The HttpServer class implements a multithreaded HTTP server primarily designed for serving RPC-style services. More... | |
Functions | |
string | get_exception_string (hash ex) |
returns a multi-line string from the exception hash argument suitable for logging or output on the console | |
hash | parse_uri_query (string path) |
parses a URI path for a arguments and a method; where the method is the part of the path before the first "?" character, and arguments are after | |
the main namespace for the HttpServer module
To use this module, use "%requires HttpServer"
in your code.
See examples/httpserver.q for an example program using this module
All the public symbols in the module are defined in this namespace
returns a multi-line string from the exception hash argument suitable for logging or output on the console
ex | the exception hash to process |
parses a URI path for a arguments and a method; where the method is the part of the path before the first "?"
character, and arguments are after
path | the URI path to parse |
method:
the part of the path before the first "?"
characterparams:
(optional, only if a "?" character is present in the input) the part of the path after the first "?"
character; arguments should be separated by ";" characters (according to a w3c recommendation: http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2)