Skip to main content

connect_to

Function connect_to 

Source
pub fn connect_to(
    url: &str,
    args: &ClientArgs,
    env: &BTreeMap<String, String>,
) -> Client<HttpTransport>
Expand description

The API client for url: the CLI’s credentials and the same poll, wait, connect and request timeouts as every other server command.

Bearer (--token) wins over HTTP Basic (--user, password from SCHEDR_PASSWORD).