Module curl::easy

source · []
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

Structure which stores possible authentication methods to get passed to http_auth and proxy_auth.

Raw bindings to a libcurl “easy session”.

Raw bindings to a libcurl “easy session”.

Multipart/formdata for an HTTP POST request.

An iterator over List

A linked list of a strings

One part in a multipart upload, added to a Form.

Structure which stores possible ssl options to pass to ssl_options.

A scoped transfer of information which borrows an Easy and allows referencing stack-local data of the lifetime 'data.

Enums

Possible values to pass to the http_version method.

Possible data chunks that can be witnessed as part of the debug_function callback.

Possible values to pass to the ip_resolve method.

Options for .netrc parsing.

Possible proxy types that libcurl currently understands.

Possible error codes that can be returned from the read_function callback.

Possible return values from the seek_function callback.

Possible values to pass to the ssl_version and ssl_min_max_version method.

Possible conditions for the time_condition method.

Possible error codes that can be returned from the write_function callback.

Traits

A trait for the various callbacks used by libcurl to invoke user code.