Expand description
Bindings to the “easy” libcurl API.
This module contains some simple types like Easy and List which are just
wrappers around the corresponding libcurl types. There’s also a few enums
scattered about for various options here and there.
Most simple usage of libcurl will likely use the Easy structure here, and
you can find more docs about its usage on that struct.
Structs§
- Auth
- Structure which stores possible authentication methods to get passed to
http_authandproxy_auth. - Easy
- Raw bindings to a libcurl “easy session”.
- Easy2
- Raw bindings to a libcurl “easy session”.
- Form
- Multipart/formdata for an HTTP POST request.
- Iter
- An iterator over
List - List
- A linked list of a strings
- Part
- One part in a multipart upload, added to a
Form. - Post
Redirections - Structure which stores possible post redirection options to pass to
post_redirections. - SslOpt
- Structure which stores possible ssl options to pass to
ssl_options. - Transfer
- A scoped transfer of information which borrows an
Easyand allows referencing stack-local data of the lifetime'data.
Enums§
- Http
Version - Possible values to pass to the
http_versionmethod. - Info
Type - Possible data chunks that can be witnessed as part of the
debug_functioncallback. - IpResolve
- Possible values to pass to the
ip_resolvemethod. - NetRc
- Options for
.netrcparsing. - Proxy
Type - Possible proxy types that libcurl currently understands.
- Read
Error - Possible error codes that can be returned from the
read_functioncallback. - Seek
Result - Possible return values from the
seek_functioncallback. - SslVersion
- Possible values to pass to the
ssl_versionandssl_min_max_versionmethod. - Time
Condition - Possible conditions for the
time_conditionmethod. - Write
Error - Possible error codes that can be returned from the
write_functioncallback.
Traits§
- Handler
- A trait for the various callbacks used by libcurl to invoke user code.