Function spacetimedb_cli::util::add_auth_header_opt

source ·
pub fn add_auth_header_opt(
    builder: RequestBuilder,
    auth_header: &Option<String>
) -> RequestBuilder
Expand description

Add an authorization header, if provided, to the request builder.