Function gmail::init_http_client

source ·
pub fn init_http_client(init: Client)
Expand description

Use this method if you want to add custom middleware to the httpclient. It must be called before any requests are made, otherwise it will have no effect. Example usage:

init_http_client(default_http_client()
    .with_middleware(..)
);