[][src]Trait onedrive_api::Client

pub trait Client {
    fn execute_api(&self, req: Request<Vec<u8>>) -> Result<Response<Vec<u8>>>;
}

Abstract synchronous HTTP client

Any HTTP backend implemented this trait can be executed by Api.

Enable feature reqwest to get implementation for reqwest::Client to work together with reqwest.

Required methods

fn execute_api(&self, req: Request<Vec<u8>>) -> Result<Response<Vec<u8>>>

Execute an http Request and get Response.

This will be called by Api::execute internally to perform operation.

Loading content...

Implementations on Foreign Types

impl Client for Client[src]

Loading content...

Implementors

Loading content...