Struct mio_httpc::HttpcCfg[][src]

pub struct HttpcCfg {
    pub der_ca: Vec<Vec<u8>>,
    pub pem_ca: Vec<Vec<u8>>,
    pub cache_buffers: usize,
}

Top level configuration for mio_http.

Fields

Extra root certificates in der format.

Extra root certificates in pem format.

Default: 8

Max 8K buffers to keep cached for subsequent requests. Every request requires 2.

Methods

impl HttpcCfg
[src]

Will read pem files (extensions .crt or .pem) from path. Path can be to file or folder.

Trait Implementations

impl Default for HttpcCfg
[src]

Returns the "default value" for a type. Read more

impl Clone for HttpcCfg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for HttpcCfg

impl Sync for HttpcCfg