package ocurl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type mt
exception Error of string
val create : unit -> mt
val add : mt -> t -> unit
val perform : mt -> int
val wait : mt -> bool
val remove_finished : mt -> (t * curlCode) option
val cleanup : mt -> unit
type poll =
  1. | POLL_NONE
  2. | POLL_IN
  3. | POLL_OUT
  4. | POLL_INOUT
  5. | POLL_REMOVE
type fd_status =
  1. | EV_AUTO
  2. | EV_IN
  3. | EV_OUT
  4. | EV_INOUT
val set_socket_function : mt -> (Unix.file_descr -> poll -> unit) -> unit
val set_timer_function : mt -> (int -> unit) -> unit
val action_all : mt -> int
val action_timeout : mt -> unit
val action : mt -> Unix.file_descr -> fd_status -> int
val timeout : mt -> int
OCaml

Innovation. Community. Security.