WithMiddleware returns a RequestOption that applies the given middleware.
func WithMiddleware(middlewares ...Middleware) RequestOption| Name | Type | Description |
|---|---|---|
middlewares* | ...Middleware |
WithMiddleware returns a RequestOption that applies the given middleware to the requests made. Each middleware will execute in the order they were given.