MCPcopy Create free account
hub / github.com/Botloader/botloader / api_client

Method api_client

cmd/blcmd/src/main.rs:70–77  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

68
69impl Config {
70 fn api_client(&self) -> api_client::ApiClient {
71 let proto = if self.api_use_https {
72 "https://"
73 } else {
74 "http"
75 };
76 api_client::ApiClient::new(self.api_token.clone(), format!("{proto}{}", self.api_host))
77 }
78}
79
80impl Default for Config {

Callers 2

loginFunction · 0.80
check_loginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected