Struct influent::client::http::HttpClient
[−]
[src]
pub struct HttpClient<'a> { pub max_batch: u16, // some fields omitted }
Fields
max_batch: u16
Methods
impl<'a> HttpClient<'a>
[src]
fn new(credentials: Credentials<'a>,
serializer: Box<Serializer>,
hurl: Box<Hurl>)
-> HttpClient<'a>
serializer: Box<Serializer>,
hurl: Box<Hurl>)
-> HttpClient<'a>
fn add_host(&mut self, host: &'a str)
Trait Implementations
impl<'a> Client for HttpClient<'a>
[src]
fn query(&self, q: String, epoch: Option<Precision>) -> ClientReadResult
fn write_one(&self,
measurement: Measurement,
precision: Option<Precision>)
-> ClientWriteResult
measurement: Measurement,
precision: Option<Precision>)
-> ClientWriteResult
fn write_many(&self,
measurements: &[Measurement],
precision: Option<Precision>)
-> ClientWriteResult
measurements: &[Measurement],
precision: Option<Precision>)
-> ClientWriteResult