package ocurl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val conn : t
method cleanup : unit
method duphandle : < cleanup : unit ; duphandle : 'a ; get_connecttime : float ; get_contentlengthdownload : float ; get_contentlengthupload : float ; get_contenttype : string ; get_cookielist : string list ; get_effectiveurl : string ; get_filetime : float ; get_ftpentrypath : string ; get_headersize : int ; get_httpauthavail : curlAuth list ; get_httpcode : int ; get_httpconnectcode : int ; get_lastsocket : int ; get_localip : string ; get_localport : int ; get_namelookuptime : float ; get_numconnects : int ; get_oserrno : int ; get_pretransfertime : float ; get_primaryip : string ; get_private : string ; get_proxyauthavail : curlAuth list ; get_redirectcount : int ; get_redirecttime : float ; get_requestsize : int ; get_responsecode : int ; get_sizedownload : float ; get_sizeupload : float ; get_speeddownload : float ; get_speedupload : float ; get_sslengines : string list ; get_sslverifyresult : int ; get_starttransfertime : float ; get_totaltime : float ; perform : unit ; set_autoreferer : bool -> unit ; set_cainfo : string -> unit ; set_capath : string -> unit ; set_closepolicy : curlClosePolicy -> unit ; set_connectonly : bool -> unit ; set_connecttimeout : int -> unit ; set_connecttimeoutms : int -> unit ; set_cookie : string -> unit ; set_cookiefile : string -> unit ; set_cookiejar : string -> unit ; set_cookielist : string -> unit ; set_copypostfields : string -> unit ; set_crlf : bool -> unit ; set_customrequest : string -> unit ; set_debugfunction : (t -> curlDebugType -> string -> unit) -> unit ; set_dns_servers : string list -> unit ; set_dnscachetimeout : int -> unit ; set_dnsuseglobalcache : bool -> unit ; set_egdsocket : string -> unit ; set_encoding : curlEncoding -> unit ; set_errorbuffer : string Pervasives.ref -> unit ; set_failonerror : bool -> unit ; set_filetime : bool -> unit ; set_followlocation : bool -> unit ; set_forbidreuse : bool -> unit ; set_freshconnect : bool -> unit ; set_ftpaccount : string -> unit ; set_ftpalternativetouser : string -> unit ; set_ftpappend : bool -> unit ; set_ftpcreatemissingdirs : bool -> unit ; set_ftpfilemethod : curlFTPMethod -> unit ; set_ftplistonly : bool -> unit ; set_ftpport : string -> unit ; set_ftpresponsetimeout : int -> unit ; set_ftpskippasvip : bool -> unit ; set_ftpssl : curlFTPSSL -> unit ; set_ftpsslauth : curlFTPSSLAuth -> unit ; set_ftpsslccc : curlFTPSSLCCC -> unit ; set_ftpuseeprt : bool -> unit ; set_ftpuseepsv : bool -> unit ; set_header : bool -> unit ; set_headerfunction : (string -> int) -> unit ; set_http200aliases : string list -> unit ; set_httpauth : curlAuth list -> unit ; set_httpcontentdecoding : bool -> unit ; set_httpget : bool -> unit ; set_httpheader : string list -> unit ; set_httppost : curlHTTPPost list -> unit ; set_httpproxytunnel : bool -> unit ; set_httptransferdecoding : bool -> unit ; set_httpversion : curlHTTPVersion -> unit ; set_ignorecontentlength : bool -> unit ; set_infilesize : int -> unit ; set_infilesizelarge : int64 -> unit ; set_interface : string -> unit ; set_ioctlfunction : (t -> curlIOCmd -> curlIOErr) -> unit ; set_ipresolve : curlIPResolve -> unit ; set_krb4level : curlKRB4Level -> unit ; set_localport : int -> unit ; set_localportrange : int -> unit ; set_lowspeedlimit : int -> unit ; set_lowspeedtime : int -> unit ; set_maxconnects : int -> unit ; set_maxfilesize : int32 -> unit ; set_maxfilesizelarge : int64 -> unit ; set_maxrecvspeedlarge : int64 -> unit ; set_maxredirs : int -> unit ; set_maxsendspeedlarge : int64 -> unit ; set_netrc : curlNETRCOption -> unit ; set_netrcfile : string -> unit ; set_newdirectoryperms : int -> unit ; set_newfileperms : int -> unit ; set_nobody : bool -> unit ; set_noprogress : bool -> unit ; set_nosignal : bool -> unit ; set_opensocketfunction : (Unix.file_descr -> unit) -> unit ; set_post : bool -> unit ; set_post301 : bool -> unit ; set_postfields : string -> unit ; set_postfieldsize : int -> unit ; set_postfieldsizelarge : int64 -> unit ; set_postquote : string list -> unit ; set_private : string -> unit ; set_progressfunction : (float -> float -> float -> float -> bool) -> unit ; set_proxy : string -> unit ; set_proxyauth : curlAuth list -> unit ; set_proxyport : int -> unit ; set_proxytransfermode : bool -> unit ; set_proxytype : curlProxyType -> unit ; set_proxyuserpwd : string -> unit ; set_put : bool -> unit ; set_quote : string list -> unit ; set_randomfile : string -> unit ; set_range : string -> unit ; set_readfunction : (int -> string) -> unit ; set_referer : string -> unit ; set_resolve : (string * int * string) list -> (string * int) list -> unit ; set_resumefrom : int -> unit ; set_resumefromlarge : int64 -> unit ; set_seekfunction : (int64 -> curlSeek -> int) -> unit ; set_sshauthtypes : curlSSHAuthTypes list -> unit ; set_sshhostpublickeymd5 : string -> unit ; set_sshprivatekeyfile : string -> unit ; set_sshpublickeyfile : string -> unit ; set_sslcert : string -> unit ; set_sslcertpasswd : string -> unit ; set_sslcerttype : string -> unit ; set_sslcipherlist : string -> unit ; set_sslengine : string -> unit ; set_sslenginedefault : bool -> unit ; set_sslkey : string -> unit ; set_sslkeypasswd : string -> unit ; set_sslkeytype : string -> unit ; set_sslsessionidcache : bool -> unit ; set_sslverifyhost : curlSSLVerifyHost -> unit ; set_sslverifypeer : bool -> unit ; set_sslversion : int -> unit ; set_tcpnodelay : bool -> unit ; set_timecondition : curlTimeCondition -> unit ; set_timeout : int -> unit ; set_timeoutms : int -> unit ; set_timevalue : int32 -> unit ; set_transfertext : bool -> unit ; set_unrestrictedauth : bool -> unit ; set_upload : bool -> unit ; set_url : string -> unit ; set_useragent : string -> unit ; set_userpwd : string -> unit ; set_verbose : bool -> unit ; set_writefunction : (string -> int) -> unit.. > as 'a
method get_connecttime : float
method get_contentlengthdownload : float
method get_contentlengthupload : float
method get_contenttype : string
method get_cookielist : string list
method get_effectiveurl : string
method get_filetime : float
method get_ftpentrypath : string
method get_headersize : int
method get_httpauthavail : curlAuth list
method get_httpcode : int
method get_httpconnectcode : int
method get_lastsocket : int
method get_localip : string
method get_localport : int
method get_namelookuptime : float
method get_numconnects : int
method get_oserrno : int
method get_pretransfertime : float
method get_primaryip : string
method get_private : string
method get_proxyauthavail : curlAuth list
method get_redirectcount : int
method get_redirecttime : float
method get_requestsize : int
method get_responsecode : int
method get_sizedownload : float
method get_sizeupload : float
method get_speeddownload : float
method get_speedupload : float
method get_sslengines : string list
method get_sslverifyresult : int
method get_starttransfertime : float
method get_totaltime : float
method perform : unit
method set_autoreferer : bool -> unit
method set_cainfo : string -> unit
method set_capath : string -> unit
method set_closepolicy : curlClosePolicy -> unit
method set_connectonly : bool -> unit
method set_connecttimeout : int -> unit
method set_connecttimeoutms : int -> unit
method set_cookiefile : string -> unit
method set_cookiejar : string -> unit
method set_cookielist : string -> unit
method set_copypostfields : string -> unit
method set_crlf : bool -> unit
method set_customrequest : string -> unit
method set_debugfunction : (t -> curlDebugType -> string -> unit) -> unit
method set_dns_servers : string list -> unit
method set_dnscachetimeout : int -> unit
method set_dnsuseglobalcache : bool -> unit
method set_egdsocket : string -> unit
method set_encoding : curlEncoding -> unit
method set_errorbuffer : string Pervasives.ref -> unit
method set_failonerror : bool -> unit
method set_filetime : bool -> unit
method set_followlocation : bool -> unit
method set_forbidreuse : bool -> unit
method set_freshconnect : bool -> unit
method set_ftpaccount : string -> unit
method set_ftpalternativetouser : string -> unit
method set_ftpappend : bool -> unit
method set_ftpcreatemissingdirs : bool -> unit
method set_ftpfilemethod : curlFTPMethod -> unit
method set_ftplistonly : bool -> unit
method set_ftpport : string -> unit
method set_ftpresponsetimeout : int -> unit
method set_ftpskippasvip : bool -> unit
method set_ftpssl : curlFTPSSL -> unit
method set_ftpsslauth : curlFTPSSLAuth -> unit
method set_ftpsslccc : curlFTPSSLCCC -> unit
method set_ftpuseeprt : bool -> unit
method set_ftpuseepsv : bool -> unit
method set_header : bool -> unit
method set_headerfunction : (string -> int) -> unit
method set_http200aliases : string list -> unit
method set_httpauth : curlAuth list -> unit
method set_httpcontentdecoding : bool -> unit
method set_httpget : bool -> unit
method set_httpheader : string list -> unit
method set_httppost : curlHTTPPost list -> unit
method set_httpproxytunnel : bool -> unit
method set_httptransferdecoding : bool -> unit
method set_httpversion : curlHTTPVersion -> unit
method set_ignorecontentlength : bool -> unit
method set_infilesize : int -> unit
method set_infilesizelarge : int64 -> unit
method set_interface : string -> unit
method set_ioctlfunction : (t -> curlIOCmd -> curlIOErr) -> unit
method set_ipresolve : curlIPResolve -> unit
method set_krb4level : curlKRB4Level -> unit
method set_localport : int -> unit
method set_localportrange : int -> unit
method set_lowspeedlimit : int -> unit
method set_lowspeedtime : int -> unit
method set_maxconnects : int -> unit
method set_maxfilesize : int32 -> unit
method set_maxfilesizelarge : int64 -> unit
method set_maxrecvspeedlarge : int64 -> unit
method set_maxredirs : int -> unit
method set_maxsendspeedlarge : int64 -> unit
method set_netrc : curlNETRCOption -> unit
method set_netrcfile : string -> unit
method set_newdirectoryperms : int -> unit
method set_newfileperms : int -> unit
method set_nobody : bool -> unit
method set_noprogress : bool -> unit
method set_nosignal : bool -> unit
method set_opensocketfunction : (Unix.file_descr -> unit) -> unit
method set_post : bool -> unit
method set_post301 : bool -> unit
method set_postfields : string -> unit
method set_postfieldsize : int -> unit
method set_postfieldsizelarge : int64 -> unit
method set_postquote : string list -> unit
method set_private : string -> unit
method set_progressfunction : (float -> float -> float -> float -> bool) -> unit
method set_proxy : string -> unit
method set_proxyauth : curlAuth list -> unit
method set_proxyport : int -> unit
method set_proxytransfermode : bool -> unit
method set_proxytype : curlProxyType -> unit
method set_proxyuserpwd : string -> unit
method set_put : bool -> unit
method set_quote : string list -> unit
method set_randomfile : string -> unit
method set_range : string -> unit
method set_readfunction : (int -> string) -> unit
method set_referer : string -> unit
method set_resolve : (string * int * string) list -> (string * int) list -> unit
method set_resumefrom : int -> unit
method set_resumefromlarge : int64 -> unit
method set_seekfunction : (int64 -> curlSeek -> int) -> unit
method set_sshauthtypes : curlSSHAuthTypes list -> unit
method set_sshhostpublickeymd5 : string -> unit
method set_sshprivatekeyfile : string -> unit
method set_sshpublickeyfile : string -> unit
method set_sslcert : string -> unit
method set_sslcertpasswd : string -> unit
method set_sslcerttype : string -> unit
method set_sslcipherlist : string -> unit
method set_sslengine : string -> unit
method set_sslenginedefault : bool -> unit
method set_sslkey : string -> unit
method set_sslkeypasswd : string -> unit
method set_sslkeytype : string -> unit
method set_sslsessionidcache : bool -> unit
method set_sslverifyhost : curlSSLVerifyHost -> unit
method set_sslverifypeer : bool -> unit
method set_sslversion : int -> unit
method set_tcpnodelay : bool -> unit
method set_timecondition : curlTimeCondition -> unit
method set_timeout : int -> unit
method set_timeoutms : int -> unit
method set_timevalue : int32 -> unit
method set_transfertext : bool -> unit
method set_unrestrictedauth : bool -> unit
method set_upload : bool -> unit
method set_url : string -> unit
method set_useragent : string -> unit
method set_userpwd : string -> unit
method set_verbose : bool -> unit
method set_writefunction : (string -> int) -> unit
OCaml

Innovation. Community. Security.