Struct kinto_http::client::KintoClient [] [src]

pub struct KintoClient {
    pub server_url: String,
    pub http_client: Client,
    pub auth: Option<Authorization<Basic>>,
}

Client for the Kinto HTTP API.

Fields

Methods

impl KintoClient
[src]

Create a client.

Select an existing bucket.

Create a new empty bucket with a generated id.

List the names of all available buckets.

Delete all available buckets.

Create a custom request for a new bucket.

Create a custom request for listing buckets.

Create a custom request for deleting buckets.

Flush the server (if the flush endpoint is enabled).

Trait Implementations

impl Debug for KintoClient
[src]

Formats the value using the given formatter.

impl Clone for KintoClient
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for KintoClient
[src]

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