package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Server = Cohttp_lwt_unix.Server
type t = {
  1. prefix : string;
  2. local_path : string;
}
val local_path : t -> string
val prefix : t -> string
module Fields : sig ... end
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val public_serve : t -> requested:string -> request_if_none_match:string option -> ?etag_of_fname:(string -> string) -> ?headers:Cohttp.Header.t -> unit -> [> `Not_found | `Ok of Opium_kernel.Rock.Response.t ] Lwt.t
val m : local_path_f:(unit -> string) -> uri_prefix_f:(unit -> string) -> ?headers:Cohttp.Header.t -> ?etag_of_fname:(string -> string) -> unit -> Sihl__.Web_middleware_core.t
OCaml

Innovation. Community. Security.