Skip to main content

sdk_config

Function sdk_config 

Source
pub fn sdk_config(api_key: String) -> SdkFullConfig
Expand description

Base SDK config shared by every construction site (Ctx::from_global and the auth commands): the API key plus the CLI User-Agent. Custom headers in HttpConfig override SDK-managed headers of the same name, which is the SDK’s supported way to replace its auto-generated User-Agent.