package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val create_and_add_to_ctx : ?body:string -> ?uri:string -> Core.Ctx.t -> Core.Ctx.t
val accepts_html : Core.Ctx.t -> bool
val require_authorization_header : Core.Ctx.t -> (Cohttp.Auth.credential, string) Stdlib.result
val parse_token : Core.Ctx.t -> string option
module Query : sig ... end
val is_get : Core.Ctx.t -> bool
val get_uri : Core.Ctx.t -> Uri.t
val get_header : Core.Ctx.t -> string -> string option
val get_query_string : Core.Ctx.t -> Query.t
val query_opt : Core.Ctx.t -> string -> string option
val query : Core.Ctx.t -> string -> (string, string) Stdlib.result
val query2_opt : Core.Ctx.t -> string -> string -> string option * string option
val query2 : Core.Ctx.t -> string -> string -> (string, string) Stdlib.result * (string, string) Stdlib.result
val query3_opt : Core.Ctx.t -> string -> string -> string -> string option * string option * string option
val query3 : Core.Ctx.t -> string -> string -> string -> (string, string) Stdlib.result * (string, string) Stdlib.result * (string, string) Stdlib.result
val urlencoded_list : ?body:string -> Core.Ctx.t -> Query.t Lwt.t
val urlencoded : ?body:string -> Core.Ctx.t -> string -> string option Lwt.t
val urlencoded2 : Core.Ctx.t -> string -> string -> (string * string) option Lwt.t
val urlencoded3 : Core.Ctx.t -> string -> string -> string -> (string * string * string) option Lwt.t
val urlencoded4 : Core.Ctx.t -> string -> string -> string -> string -> (string * string * string * string) option Lwt.t
val urlencoded5 : Core.Ctx.t -> string -> string -> string -> string -> string -> (string * string * string * string * string) option Lwt.t
val param : Core.Ctx.t -> string -> string option
val param2 : Core.Ctx.t -> string -> string -> (string * string) option
val param3 : Core.Ctx.t -> string -> string -> string -> (string * string * string) option
val param4 : Core.Ctx.t -> string -> string -> string -> string -> (string * string * string * string) option
val param5 : Core.Ctx.t -> string -> string -> string -> string -> string -> (string * string * string * string * string) option
val require_body : Core.Ctx.t -> (Yojson.Safe.t -> ('a, string) Stdlib.result) -> ('a, string) Lwt_result.t
OCaml

Innovation. Community. Security.