[−][src]Trait analytics::client::Client
Client
is a trait representing the HTTP transport layer of the analytics library.
Required methods
fn send(&self, write_key: &str, msg: &Message) -> Result<(), Error>
Send a single message to Segment using the given write key.
A write_key
is an API key for Segment's tracking API. See Segment's
documentation
for how to find this value.