Closed
Description
Expected
We by default use the HTTP protocol for CloudEvents.
We do not need to specify if the CloudEvent module accepts only binary or only structured events.
Actual
We specify the protocol in the Receiver
constructor. Not sure why.
Seems overly complicated.
https://github.com/cloudevents/sdk-javascript/blob/master/src/transport/receiver.ts#L40
https://github.com/cloudevents/sdk-javascript/blob/master/src/transport/protocols.ts
Metadata
Metadata
Assignees
Labels
No labels