Allow Context
to be set in http.Request
for Fastly API calls
#424
Labels
Context
to be set in http.Request
for Fastly API calls
#424
Hi there,
I have a use-case where we are using an egress proxy to make API calls to Fastly and would like to set a
context.Context
inhttp.Request
before making the http request.My proposal is to update
RequestOptions
to include an additionalContext
attribute and create new methods inClient
with aWithCtx(...)
suffix. See example below.Tagging @Integralist and @joeshaw for opinions/suggestions.
Thanks,
Alwin
The text was updated successfully, but these errors were encountered: