AzureStorage.Request.Context (AzureStorage v0.1.6) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %AzureStorage.Request.Context{
  account: AzureStorage.Core.Account.t(),
  base_url: String.t(),
  body: String.t(),
  headers: map(),
  method: String.t() | atom(),
  path: String.t(),
  service: String.t(),
  url: String.t()
}

Link to this section Functions

Link to this function

build(context, options \\ [])

View Source

Specs

build(t(), keyword()) :: t()

Build request context

Supported options

  • :method - Required. Request method

  • :path - Required. Request path

  • :body - Request body The default value is "".

  • :headers - Additional request headers The default value is %{}.

Link to this function

create(account, service, app_version \\ "2019-07-07")

View Source
Link to this function

get_canonical_headers(context)

View Source
Link to this function

get_canonical_resource(context)

View Source