B | |
| buf_of_inchan [Http_misc] |
reads from an input channel till it End_of_file and returns what has been
read; if limit is given returned buffer will contains at most first 'limit'
bytes read from input channel
|
| build_sockaddr [Http_misc] |
build a Unix.sockaddr inet address from a string representation of an IP
address and a port number
|
C | |
| callback [Http_daemon.Trivial] |
callback function, exposed if you like to use it as a basis to define
a more powerful daemon
|
| code_of_status [Http_common] |
converts an HTTP status to the corresponding integer value
|
| crlf [Http_constants] |
"\r\n" string
|
D | |
| daemon_spec [Http_daemon] |
currified daemon_spec constructor.
|
| date_822 [Http_misc] | |
| debug [Http_common] |
whether debugging messages are enabled or not, can be changed at runtime
|
| debug_print [Http_common] |
print a string on stderr only if debugging is enabled
|
| default_addr [Http_constants] | |
| default_auth [Http_constants] | |
| default_auto_close [Http_constants] | |
| default_callback [Http_constants] | |
| default_exn_handler [Http_constants] | |
| default_mode [Http_constants] | |
| default_port [Http_constants] | |
| default_root_dir [Http_constants] | |
| default_spec [Http_daemon] |
default daemon specification: listen on 0.0.0.0, port 80, "always ok" callback (return an empty response, response code 200), fork a child for each request, do not change to a root directory (i.e. keep cwd), 300 seconds timeout, ignores exceptions, no authentication required, do not automatically close client connections after callback
|
| default_timeout [Http_constants] | |
E | |
| error [Http_misc] |
print an error msg to stderr.
|
| explode_sockaddr [Http_misc] |
explode an _inet_ Unix.sockaddr address in a string representation of an
IP address and a port number
|
F | |
| filesize [Http_misc] | |
| finally [Http_misc] | |
| fork [Http_tcp_server] |
multi process server
|
G | |
| get [Http_user_agent] | |
| get_iter [Http_user_agent] |
as above but iter callback function on HTTP response's body instead of
returning it as a string
|
H | |