openfaas / connector-sdk

SDK for connecting events to functions
MIT License
54 stars 25 forks source link

[Feature Request] Possibility to add HTTP Headers to Invoke Function #37

Closed sticreations closed 4 years ago

sticreations commented 4 years ago

It would be a blast to have the option to add HTTP Headers to the Invoke function. (To use Opentracing via Headers)

sticreations commented 4 years ago

Sorry, just seen that i can send a Request with ctx...

alexellis commented 4 years ago

Would you like to leave a code example for future Googlers?

Thanks to @bmcstdio for adding the context. cc @LucasRoesler re tracing.