PINXS.Middleware.KeepRequest (pinxs v3.1.3) View Source

By default Tesla does not keep the request headers or body.

This Middleware strips senstive information from the headers and then stores the remaining headers and body in the opts key.

Mainly useful for debugging

Link to this section Summary

Link to this section Functions

Link to this function

call(env, next, options)

View Source

Callback implementation for Tesla.Middleware.call/3.