Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type tcp_server =
sockaddr:Unix.sockaddr ->
timeout:int option ->
(in_channel -> out_channel -> unit) ->
unit
type client_error_substatus = [
| `Bad_request
| `Conflict
| `Expectation_failed
| `Forbidden
| `Gone
| `Length_required
| `Method_not_allowed
| `Not_acceptable
| `Not_found
| `Payment_required
| `Precondition_failed
| `Proxy_authentication_required
| `Request_URI_too_large
| `Request_entity_too_large
| `Request_time_out
| `Requested_range_not_satisfiable
| `Unsupported_media_type
]
type error_status = [
| `Client_error of client_error_substatus
| `Server_error of server_error_substatus
]
type status = [
| `Client_error of client_error_substatus
| `Informational of informational_substatus
| `Redirection of redirection_substatus
| `Server_error of server_error_substatus
| `Success of success_substatus
]
class type message = object ... end
class type request = object ... end
class type response = object ... end
type daemon_spec = {
address : string;
auth : (string * auth_info) option;
callback : request -> out_channel -> unit;
mode : daemon_mode;
port : int;
root_dir : string option;
exn_handler : (exn -> out_channel -> unit) option;
timeout : int option;
auto_close : bool;
}
class type connection = object ... end
class type daemon = object ... end