package curly

  1. Overview
  2. Docs

Module CurlySource

Sourcemodule Meth : sig ... end
Sourcemodule Header : sig ... end
Sourcemodule Response : sig ... end
Sourcemodule Request : sig ... end
Sourcemodule Process_result : sig ... end
Sourcemodule Error : sig ... end
Sourceval run : ?exe:string -> ?args:string list -> ?follow_redirects:bool -> Request.t -> (Response.t, Error.t) Result.result
Sourceval get : ?exe:string -> ?args:string list -> ?headers:Header.t -> ?follow_redirects:bool -> string -> (Response.t, Error.t) Result.result

Specialized version of run for method `GET

  • since 0.2.0
Sourceval head : ?exe:string -> ?args:string list -> ?headers:Header.t -> ?follow_redirects:bool -> string -> (Response.t, Error.t) Result.result

Specialized version of run for method `HEAD

  • since 0.2.0
Sourceval delete : ?exe:string -> ?args:string list -> ?headers:Header.t -> ?follow_redirects:bool -> string -> (Response.t, Error.t) Result.result

Specialized version of run for method `DELETE

  • since 0.2.0
Sourceval post : ?exe:string -> ?args:string list -> ?headers:Header.t -> ?body:string -> ?follow_redirects:bool -> string -> (Response.t, Error.t) Result.result

Specialized version of run for method `POST

  • since 0.2.0
Sourceval put : ?exe:string -> ?args:string list -> ?headers:Header.t -> ?body:string -> ?follow_redirects:bool -> string -> (Response.t, Error.t) Result.result

Specialized version of run for method `PUT

  • since 0.2.0
OCaml

Innovation. Community. Security.