package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GapiCurlSource

Ocurl wrapper module.

Sourcetype curl_context
Sourcetype 'a t =
  1. | Initialized
  2. | Created of curl_context
  3. | Destroyed
  4. | Uninitialized
Sourceval global_init : unit -> [ `Initialized ] t
Sourceval init : ?debug_function:(Curl.t -> Curl.curlDebugType -> string -> unit) -> ?timeout:int -> ?connect_timeout:int -> ?follow_location:bool -> ?compress:bool -> ?max_send_speed:int64 -> ?max_recv_speed:int64 -> ?low_speed_limit:int -> ?low_speed_time:int -> ?no_signal:bool -> ?proxy:string -> ?ssl_verifypeer:bool -> ?options:Curl.curlOption list -> [ `Initialized ] t -> [ `Created ] t
Sourceval set_options : Curl.curlOption list -> [ `Created ] t -> unit
Sourceval set_writefunction : (string -> int) -> [ `Created ] t -> unit
Sourceval set_headerfunction : (string -> int) -> [ `Created ] t -> unit
Sourceval set_httpheader : GapiCore.Header.t list -> [ `Created ] t -> unit
Sourceval set_httpget : bool -> [ `Created ] t -> unit
Sourceval set_post : bool -> [ `Created ] t -> unit
Sourceval set_nobody : bool -> [ `Created ] t -> unit
Sourceval set_upload : bool -> [ `Created ] t -> unit
Sourceval set_httpbody : GapiCore.PostData.body -> [ `Created ] t -> unit
Sourceval set_customrequest : string -> [ `Created ] t -> unit
Sourceval set_postfields : (string * string) list -> [ `Created ] t -> unit
Sourceval set_useragent : string -> [ `Created ] t -> unit
Sourceval set_cookies : string list -> [ `Created ] t -> unit
Sourceval reset_all_cookies : [ `Created ] t -> unit
Sourceval reset_session_cookies : [ `Created ] t -> unit
Sourceval perform : string -> [ `Created ] t -> unit
Sourceval get_error_buffer : [ `Created ] t -> string
Sourceval get_responsecode : [ `Created ] t -> int
Sourceval cleanup : [ `Created ] t -> [ `Destroyed ] t
Sourceval global_cleanup : [ `Initialized ] t -> [ `Uninitialized ] t
Sourceval string_of_curl_info_type : Curl.curlDebugType -> string
OCaml

Innovation. Community. Security.