Every request made by the client should have the ability to allow a consumer to optionally specify additional HTTP headers to include in the request, for example, X-Opaque-Id.
Possible implementation
Generated builder structs include a HeaderMap field, with an associated function that accepts a header name and value. It may make sense to expose the same signature as the reqwest crate, the HTTP crate being used
Every request made by the client should have the ability to allow a consumer to optionally specify additional HTTP headers to include in the request, for example,
X-Opaque-Id
.Possible implementation
Generated builder structs include a
HeaderMap
field, with an associated function that accepts a header name and value. It may make sense to expose the same signature as thereqwest
crate, the HTTP crate being used