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
{{ message }}
Repository navigation
Provide a better way to extract headers from a CloudEvent #178
Not ideal... you have to create a new object for no real reason. And on top of that, you have to supply it with a URL since the emitter ctor will throw without one.
Something better might be...
const{ headers /* other exports such as HTTPEmitter */}=require('cloudevents-sdk/bindings/http');constce=newCloudEvent({type: 'example.event',source: 'https://example.event.source'});constheaders=headers(ce);
Activity