View Source Chalk.Client.Request (chalk_elixir v0.0.10)
Data structure for an HTTP request with convenience functions.
Link to this section Summary
Functions
Add telemetry metadata to Request
.
Calling without the second argument adds default metadata. Custom metadata
is added by passing a map with a key telemetry_metadata
.
Example
Convert Request
to options
format passed to Tesla.request/2
.
Link to this section Types
Link to this section Functions
Add telemetry metadata to Request
.
Calling without the second argument adds default metadata. Custom metadata
is added by passing a map with a key telemetry_metadata
.
Example
Request.add_metadata(request, %{telemetry_metadata: %{k: v}})
Convert Request
to options
format passed to Tesla.request/2
.