package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type config_log_error = Nethttpd_types.request_info -> string -> unit
type config_log_access = Nethttpd_types.full_info -> unit
type config_error_response = Nethttpd_types.error_response_params -> string
val std_log_access : ?debug:bool -> Netplex_types.container -> config_log_access
val std_error_response : config_error_response
val restrict_file_service_config : Netplex_types.config_file -> Netplex_types.address -> unit
val restrict_dynamic_service_config : Netplex_types.config_file -> Netplex_types.address -> unit
type encap = [
  1. | `Engine
  2. | `Reactor
]
type (!'a, !'b) service_factory = (string * 'a Nethttpd_services.dynamic_service) list -> Netplex_types.config_file -> Netplex_types.address -> string -> 'b Nethttpd_types.http_service constraint 'a = Netcgi.cgi_activation constraint 'b = [ `Dynamic_service of 'a Nethttpd_services.dynamic_service | `File_service of Nethttpd_services.file_service ]
val default_services : (string * (Netcgi.cgi_activation as 'a, [ `Dynamic_service of 'a Nethttpd_services.dynamic_service | `File_service of Nethttpd_services.file_service ]) service_factory) list
val nethttpd_factory : ?name:string -> ?hooks:Netplex_types.processor_hooks -> ?encap:encap -> ?config_cgi:Netcgi.config -> ?handlers: (string * Netcgi.cgi_activation as 'a Nethttpd_services.dynamic_service) list -> ?services: (string * ('a, [ `Dynamic_service of 'a Nethttpd_services.dynamic_service | `File_service of Nethttpd_services.file_service ]) service_factory) list -> ?log_error:(Netplex_types.container -> config_log_error) -> ?log_access:(?debug:bool -> Netplex_types.container -> config_log_access) -> ?error_response:config_error_response -> ?processor_factory:httpd_factory -> ?tls:(module Netsys_crypto_types.TLS_PROVIDER) -> unit -> Netplex_types.processor_factory
OCaml

Innovation. Community. Security.