package trail

  1. Overview
  2. Docs

Module Trail.RouterSource

Sourcemodule type Resource = sig ... end
Sourcetype t
Sourceval socket : string -> (module Sock.Intf with type args = 'args and type state = 'state) -> 'args -> t
Sourceval get : string -> trail -> t
Sourceval post : string -> trail -> t
Sourceval head : string -> trail -> t
Sourceval patch : string -> trail -> t
Sourceval put : string -> trail -> t
Sourceval delete : string -> trail -> t
Sourceval resource : string -> (module Resource) -> t
Sourceval scope : string -> t list -> t
Sourceval router : t list -> trail