headless_lms_server::domain::authorization

Function get_ratelimit_api_key

Source
fn get_ratelimit_api_key() -> Result<HeaderValue, HttpClientError<Error>>
Expand description

Gets the rate limit protection API key from environment variables and converts it to a header value. This key is used to bypass rate limiting when making requests to TMC server.