package trail

  1. Overview
  2. Docs
module type Resource = sig ... end
type t
val socket : string -> (module Sock.Intf with type args = 'args and type state = 'state) -> 'args -> t
val get : string -> trail -> t
val post : string -> trail -> t
val head : string -> trail -> t
val patch : string -> trail -> t
val put : string -> trail -> t
val delete : string -> trail -> t
val resource : string -> (module Resource) -> t
val scope : string -> t list -> t
val router : t list -> trail
OCaml

Innovation. Community. Security.