Ocsigen.ConfigConfiguring Ocsigen server
module Socket_type : sig ... endtype socket_type = Socket_type.tval set_global_log_level : Logs.level option -> unitSet the log level for all Ocsigen log sources. Using this function is preferable to using Logs.set_level directly to avoid the excessive logging from Cohttp and let you use a different log level for your application.
val builtin_packages : Ocsigen_base.Lib.String.Set.tval set_syslog_facility : Syslog_message.facility option -> unitWhen set to true, logs are written to stdout/stderr instead of the log files under get_logdir. Used by the one-command serve mode so that no log directory needs to exist.
val set_ssl_info : ssl_info option -> unitval set_ports : (socket_type * int) list -> unitval set_ssl_ports : (socket_type * int) list -> unitval get_syslog_facility : unit -> Syslog_message.facility optionreturns true if Ocsigen Server is running with a configuration file,
val get_ssl_info : unit -> ssl_info optionval get_ports : unit -> (socket_type * int) listval get_ssl_ports : unit -> (socket_type * int) list