package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type host = {
  1. server_pref_name : string option;
  2. server_pref_port : int option;
  3. server_names : (string * int) list;
  4. server_addresses : (Unix.inet_addr * int) list;
}
type !'a host_distributor = (host * 'a Nethttpd_types.http_service) list
val host_distributor : 'a host_distributor -> [> `Host_distributor of 'a host_distributor ] Nethttpd_types.http_service
val default_host : ?pref_name:string -> ?pref_port:int -> unit -> host
val options_service : unit -> [> `Options_service ] Nethttpd_types.http_service
type !'a uri_distributor = (string * 'a Nethttpd_types.http_service) list
val uri_distributor : 'a uri_distributor -> [> `Uri_distributor of 'a uri_distributor ] Nethttpd_types.http_service
type !'a linear_distributor = ((Nethttpd_types.extended_environment -> bool) * 'a Nethttpd_types.http_service) list
val linear_distributor : 'a linear_distributor -> [> `Linear_distributor of 'a linear_distributor ] Nethttpd_types.http_service
type method_filter = [
  1. | `Limit of string list
  2. | `Limit_except of string list
]
type !'a method_distributor = (method_filter * 'a Nethttpd_types.http_service) list
val method_distributor : 'a method_distributor -> [> `Method_distributor of 'a method_distributor ] Nethttpd_types.http_service
type file_option = [
  1. | `Enable_cooked_compression
  2. | `Enable_gzip
  3. | `Enable_index_file of string list
  4. | `Enable_listings of Nethttpd_types.extended_environment -> Netcgi.cgi_activation -> file_service -> unit
  5. | `Override_compression_suffixes of (string * string) list
]
and file_service = {
  1. file_docroot : string;
  2. file_uri : string;
  3. file_suffix_types : (string * string) list;
  4. file_default_type : string;
  5. file_options : file_option list;
}
val file_service : file_service -> [> `File_service of file_service ] Nethttpd_types.http_service
val file_translator : file_service -> string -> string
val simple_listing : ?hide:string list -> Nethttpd_types.extended_environment -> Netcgi.cgi_activation -> file_service -> unit
type std_activation_options = {
  1. stdactv_processing : Netcgi.arg_store option;
  2. stdactv_operating_type : Netcgi.output_type option;
}
type std_activation = [
  1. | `Std_activation of std_activation_options
  2. | `Std_activation_buffered
  3. | `Std_activation_tempfile
  4. | `Std_activation_unbuffered
]
type !'a dynamic_service = {
  1. dyn_handler : Nethttpd_types.extended_environment -> 'a -> unit;
  2. dyn_activation : Nethttpd_types.extended_environment -> 'a;
  3. dyn_uri : string option;
  4. dyn_translator : string -> string;
  5. dyn_accept_all_conditionals : bool;
} constraint 'a = Netcgi.cgi_activation
val dynamic_service : Netcgi.cgi_activation as 'a dynamic_service -> [> `Dynamic_service of 'a dynamic_service ] Nethttpd_types.http_service
type ac_by_host_rule = [
  1. | `Allow of string list
  2. | `Deny of string list
]
type !'a ac_by_host = ac_by_host_rule * 'a Nethttpd_types.http_service
val ac_by_host : 'a ac_by_host -> [> `Ac_by_host of 'a ac_by_host ] Nethttpd_types.http_service
val read_media_types_file : string -> (string * string) list
module Debug : sig ... end
OCaml

Innovation. Community. Security.