patron 0.2.1

A wrapper around the hyper.rs library to allow for targeted clients to specific remote APIs. This library should be useful on it's own or as a building block for specific remote API wrappers.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std;


mod method;
mod scheme;


pub type QueryParams<'a> = std::collections::HashMap<String,
                                                     std::borrow::Cow<'a, str>>;


pub type PathSegments<'a> = std::vec::Vec<std::borrow::Cow<'a, str>>;


pub use self::method::Method;


pub use self::scheme::Scheme;