You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread is intended to provide a design discussion frame in order to consolidate a homogeneous and versatile HTTP client middleware interface that can be used in gentleman, as well as in other packages.
Ideally, the conclusion of this proposal will be introduced in gentleman@v2.
Proposal MVP:
context.Context capable.
Minimal, idiomatic interface, inspired by http.Handler.
Exclusive net/http types and interfaces coupling (third-party package agnostic, even gentleman).
h2non
changed the title
Consolidate middleware/plugin interface for HTTP client middlewares
Consolidate interface for reusable HTTP client middlewares
Dec 16, 2016
This thread is intended to provide a design discussion frame in order to consolidate a homogeneous and versatile HTTP client middleware interface that can be used in
gentleman
, as well as in other packages.Ideally, the conclusion of this proposal will be introduced in
gentleman@v2
.Proposal MVP:
context.Context
capable.http.Handler
.net/http
types and interfaces coupling (third-party package agnostic, evengentleman
).Proposals and ideas are very welcome.
See also related issues:
The text was updated successfully, but these errors were encountered: