Plasma GitLab Archive
Projects Blog Knowledge

Class Nethttpd_reactor.modify_http_processor_config

class modify_http_processor_config : ?modify_http_protocol_config:Nethttpd_kernel.http_protocol_config -> Nethttpd_kernel.http_protocol_config -> ?config_timeout_next_request:float -> ?config_timeout:float -> ?config_cgi:Netcgi.config -> ?config_error_response:Nethttpd_types.error_response_params -> string -> ?config_log_error:Nethttpd_types.request_info -> string -> unit -> ?config_log_access:Nethttpd_types.full_info -> unit -> ?config_tls_cert_props:bool -> ?config_tls_remote_user:bool -> http_processor_config -> http_processor_config
Modifies the passed config object as specified by the optional arguments.

modify_http_protocol_config: This function can be used to modify the parts of the config object that are inherited from http_protocol_config. For example:

        let new_cfg =
          new modify_http_processor_config
            ~modify_http_protocol_config:
               (new Nethttpd_kernel.modify_http_protocol_config
                  ~config_suppress_broken_pipe:true)
            ~config_timeout:15.0
            old_cfg
      


This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml