Skip to content

Remove Concept of Multiple Protocols within HTTP #266

Closed
@grant

Description

@grant

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions