package yurt

  1. Overview
  2. Docs
val get : ?ctx:Cohttp_lwt_unix_net.ctx -> ?headers:Request_ctx.Header.t -> string -> (Request_ctx.Response.t * string) Lwt.t
val post : ?ctx:Cohttp_lwt_unix_net.ctx -> ?headers:Request_ctx.Header.t -> ?body:Cohttp_lwt_body.t -> string -> (Request_ctx.Response.t * string) Lwt.t
val post_form : ?ctx:Cohttp_lwt_unix_net.ctx -> ?headers:Request_ctx.Header.t -> params:(string * string list) list -> string -> (Request_ctx.Response.t * string) Lwt.t
val request : ?ctx:Cohttp_lwt_unix_net.ctx -> ?headers:Request_ctx.Header.t -> ?body:Cohttp_lwt_body.t -> Cohttp.Code.meth -> string -> (Request_ctx.Response.t * string) Lwt.t
val get_json : ?ctx:Cohttp_lwt_unix_net.ctx -> ?headers:Request_ctx.Header.t -> string -> (Request_ctx.Response.t * Ezjsonm.t) Lwt.t
val post_json : ?ctx:Cohttp_lwt_unix_net.ctx -> ?headers:Request_ctx.Header.t -> ?body:Cohttp_lwt_body.t -> string -> (Request_ctx.Response.t * Ezjsonm.t) Lwt.t
val post_form_json : ?ctx:Cohttp_lwt_unix_net.ctx -> ?headers:Request_ctx.Header.t -> ?params:(string * string list) list -> string -> (Request_ctx.Response.t * Ezjsonm.t) Lwt.t
OCaml

Innovation. Community. Security.