Struct libeko::Client
[−]
[src]
pub struct Client { /* fields omitted */ }
A curl based Echo
client.
Methods
impl Client
[src]
pub fn new() -> Result<Self>
[src]
Create a new curl based event sender.
pub fn set_url(&mut self, url: &str) -> Result<&mut Self>
[src]
Set the endpoint url.
pub fn set_verbose(&mut self, verbose: bool) -> Result<&mut Self>
[src]
Set the verbose curl flag.
pub fn set_username(&mut self, username: &str) -> Result<&mut Self>
[src]
Set the username (i.e. for Basic Authentication)
pub fn set_password(&mut self, password: &str) -> Result<&mut Self>
[src]
Set the password (i.e. for Basic Authentication)
Trait Implementations
impl Debug for Client
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more