pinxs v3.0.0 PINXS.Middleware.Normalize View Source
Transforms HTTP responses from Tesla in {:ok, response} / {:error, reason} tuples
The allows us to pattern match without having to also check every
request was a 2xx
response
Link to this section Summary
Functions
Callback implementation for Tesla.Middleware.call/3
.
Link to this section Functions
Callback implementation for Tesla.Middleware.call/3
.