# Class Curl.handle

    class handle : object .. end

    val conn : t

    method handle : t

    method cleanup : unit

    method perform : unit

    method set_writefunction : (string -> int) -> unit

    method set_writefunction2 : (string -> write_result) -> unit

    method set_readfunction : (int -> string) -> unit

    method set_readfunction2 : (int -> read_result) -> unit

    method set_infilesize : int -> unit

    method set_url : string -> unit

    method set_proxy : string -> unit

    method set_proxyport : int -> unit

    method set_httpproxytunnel : bool -> unit

    method set_verbose : bool -> unit

    method set_header : bool -> unit

    method set_noprogress : bool -> unit

    method set_nosignal : bool -> unit

    method set_nobody : bool -> unit

    method set_failonerror : bool -> unit

    method set_upload : bool -> unit

    method set_post : bool -> unit

    method set_ftplistonly : bool -> unit

    method set_ftpappend : bool -> unit

    method set_netrc : curlNETRCOption -> unit

    method set_encoding : curlEncoding -> unit

    method set_followlocation : bool -> unit

    method set_transfertext : bool -> unit

    method set_put : bool -> unit

    method set_userpwd : string -> unit

    method set_proxyuserpwd : string -> unit

    method set_range : string -> unit

    method set_errorbuffer : string Stdlib.ref -> unit

    method set_timeout : int -> unit

    method set_postfields : string -> unit

    method set_postfieldsize : int -> unit

    method set_referer : string -> unit

    method set_useragent : string -> unit

    method set_ftpport : string -> unit

    method set_lowspeedlimit : int -> unit

    method set_lowspeedtime : int -> unit

    method set_resumefrom : int -> unit

    method set_cookie : string -> unit

    method set_httpheader : string list -> unit

    method set_httppost : curlHTTPPost list -> unit

    method set_sslcert : string -> unit

    method set_sslcerttype : string -> unit

    method set_sslcertpasswd : string -> unit

    method set_sslkey : string -> unit

    method set_sslkeytype : string -> unit

    method set_sslkeypasswd : string -> unit

    method set_sslengine : string -> unit

    method set_sslenginedefault : bool -> unit

    method set_certinfo : bool -> unit

    method set_crlf : bool -> unit

    method set_quote : string list -> unit

    method set_postquote : string list -> unit

    method set_headerfunction : (string -> int) -> unit

    method set_cookiefile : string -> unit

    method set_sslversion : curlSSLVersion -> unit

    method set_timecondition : curlTimeCondition -> unit

    method set_timevalue : int32 -> unit

    method set_customrequest : string -> unit

    method set_interface : string -> unit

    method set_krb4level : curlKRB4Level -> unit

    method set_progressfunction : (float -> float -> float -> float -> bool) -> unit

    method set_xferinfofunction : (int64 -> int64 -> int64 -> int64 -> bool) -> unit

    method set_sslverifypeer : bool -> unit

    method set_cainfo : string -> unit

    method set_capath : string -> unit

    method set_filetime : bool -> unit

    method set_maxredirs : int -> unit

    method set_maxconnects : int -> unit

    method set_closepolicy : curlClosePolicy -> unit

    method set_freshconnect : bool -> unit

    method set_forbidreuse : bool -> unit

    method set_randomfile : string -> unit

    method set_egdsocket : string -> unit

    method set_connecttimeout : int -> unit

    method set_httpget : bool -> unit

    method set_sslverifyhost : curlSSLVerifyHost -> unit

    method set_cookiejar : string -> unit

    method set_sslcipherlist : string -> unit

    method set_httpversion : curlHTTPVersion -> unit

    method set_ftpuseepsv : bool -> unit

    method set_dnscachetimeout : int -> unit

    method set_dnsuseglobalcache : bool -> unit

    method set_debugfunction : (t -> curlDebugType -> string -> unit) -> unit

    method set_private : string -> unit

    method set_http200aliases : string list -> unit

    method set_unrestrictedauth : bool -> unit

    method set_ftpuseeprt : bool -> unit

    method set_httpauth : curlAuth list -> unit

    method set_ftpcreatemissingdirs : bool -> unit

    method set_proxyauth : curlAuth list -> unit

    method set_ftpresponsetimeout : int -> unit

    method set_ipresolve : curlIPResolve -> unit

    method set_maxfilesize : int32 -> unit

    method set_infilesizelarge : int64 -> unit

    method set_resumefromlarge : int64 -> unit

    method set_maxfilesizelarge : int64 -> unit

    method set_netrcfile : string -> unit

    method set_ftpssl : curlFTPSSL -> unit

    method set_postfieldsizelarge : int64 -> unit

    method set_tcpnodelay : bool -> unit

    method set_tcpfastopen : bool -> unit

    method set_ftpsslauth : curlFTPSSLAuth -> unit

    method set_ioctlfunction : (t -> curlIOCmd -> curlIOErr) -> unit

    method set_ftpaccount : string -> unit

    method set_cookielist : string -> unit

    method set_ignorecontentlength : bool -> unit

    method set_ftpskippasvip : bool -> unit

    method set_ftpfilemethod : curlFTPMethod -> unit

    method set_localport : int -> unit

    method set_localportrange : int -> unit

    method set_connectonly : bool -> unit

    method set_maxsendspeedlarge : int64 -> unit

    method set_maxrecvspeedlarge : int64 -> unit

    method set_ftpalternativetouser : string -> unit

    method set_sslsessionidcache : bool -> unit

    method set_sshauthtypes : curlSSHAuthTypes list -> unit

    method set_sshpublickeyfile : string -> unit

    method set_sshprivatekeyfile : string -> unit

    method set_ftpsslccc : curlFTPSSLCCC -> unit

    method set_timeoutms : int -> unit

    method set_connecttimeoutms : int -> unit

    method set_httptransferdecoding : bool -> unit

    method set_httpcontentdecoding : bool -> unit

    method set_newfileperms : int -> unit

    method set_newdirectoryperms : int -> unit

    method set_post301 : bool -> unit

    method set_sshhostpublickeymd5 : string -> unit

    method set_copypostfields : string -> unit

    method set_proxytransfermode : bool -> unit

    method set_seekfunction : (int64 -> curlSeek -> curlSeekResult) -> unit

    method set_autoreferer : bool -> unit

    method set_opensocketfunction : (Unix.file_descr -> unit) -> unit

    method set_proxytype : curlProxyType -> unit

    method set_resolve : (string * int * string) list -> (string * int) list -> unit

    method set_dns_servers : string list -> unit

    method set_mimepost : curlMIMEPart list -> unit

    method set_sshknownhosts : string -> unit

    method set_sshkeyfunction : (curlKHMatch -> string -> curlKHStat) -> unit

    method set_buffersize : int -> unit

    method set_doh_url : string -> unit

    method set_ssl_options : curlSslOption list -> unit

    method get_effectiveurl : string

    method get_redirecturl : string

    method get_httpcode : int

    method get_responsecode : int

    method get_totaltime : float

    method get_namelookuptime : float

    method get_connecttime : float

    method get_pretransfertime : float

    method get_sizeupload : float

    method get_sizedownload : float

    method get_speeddownload : float

    method get_speedupload : float

    method get_headersize : int

    method get_requestsize : int

    method get_sslverifyresult : int

    method get_filetime : float

    method get_contentlengthdownload : float

    method get_contentlengthupload : float

    method get_starttransfertime : float

    method get_contenttype : string

    method get_redirecttime : float

    method get_redirectcount : int

    method get_private : string

    method get_httpconnectcode : int

    method get_httpauthavail : curlAuth list

    method get_proxyauthavail : curlAuth list

    method get_oserrno : int

    method get_numconnects : int

    method get_sslengines : string list

    method get_cookielist : string list

    method get_lastsocket : int

    method get_activesocket : Unix.file_descr option

    method get_ftpentrypath : string

    method get_primaryip : string

    method get_localip : string

    method get_localport : int

    method get_conditionunmet : bool

    method get_certinfo : string list list

    method get_http_version : curlHTTPVersion