View Source Cosmox.Requests.RequestHeaders (Cosmox v0.1.1)
Handles the construction and verification of the default request headers.
Link to this section Summary
Functions
Gets the current CosmosDB REST api version.
Gets the default headers, provided with the command date and the authorization string.
Link to this section Functions
@spec get_current_api_version() :: binary()
Gets the current CosmosDB REST api version.
@spec get_default_headers( authorization_string :: binary(), request_date :: NaiveDateTime.t() | binary() ) :: Finch.Request.headers()
Gets the default headers, provided with the command date and the authorization string.