Struct fiberplane_api_client::builder::ApiClientBuilder
source · pub struct ApiClientBuilder { /* private fields */ }Implementations§
source§impl ApiClientBuilder
impl ApiClientBuilder
pub fn new(base_url: Url) -> Self
sourcepub fn user_agent(self, user_agent: Option<impl Into<String>>) -> Self
pub fn user_agent(self, user_agent: Option<impl Into<String>>) -> Self
Override the user agent for the ApiClient.
sourcepub fn bearer_token(self, bearer_token: Option<impl Into<String>>) -> Self
pub fn bearer_token(self, bearer_token: Option<impl Into<String>>) -> Self
Set an authentication token for the ApiClient.