diff --git a/src/client.rs b/src/client.rs index c5b04a7..f13b3d0 100644 --- a/src/client.rs +++ b/src/client.rs @@ -19,8 +19,8 @@ static CLOUD_URL: &str = "https://cloud.axiom.co"; /// use axiom_rs::{Client, Error}; /// /// fn main() -> Result<(), Error> { -/// // Create a new client and get the token, url and (if necesary) org id -/// // from the environment variables AXIOM_TOKEN, AXIOM_URL and AXIOM_ORG_ID. +/// // Create a new client and get the token and (if necesary) org id +/// // from the environment variables AXIOM_TOKEN and AXIOM_ORG_ID. /// let client = Client::new()?; /// /// // Set all available options. Unset options fall back to environment @@ -95,14 +95,6 @@ impl Builder { self } - /// Add an URL to the client. If this is not set, the URL will be read - /// from the environment variable `AXIOM_URL`. If that is empty as well, - /// it will fall back to Axiom Cloud. - pub fn with_url>(mut self, url: S) -> Self { - self.url = Some(url.into()); - self - } - /// Add an organization ID to the client. If this is not set, the /// organization ID will be read from the environment variable `AXIOM_ORG_ID`. pub fn with_org_id>(mut self, org_id: S) -> Self {