Creates a new instance of {HTTPEmitter}. The default emitter uses the 1.0 protocol specification in binary mode.
Sends the {CloudEvent} to an event receiver over HTTP POST
the CloudEvent to be sent
Promise with an eventual response from the receiver
Generated using TypeDoc
A class which is capable of sending binary and structured events using the CloudEvents HTTP Protocol Binding specification.
https://github.com/cloudevents/spec/blob/v1.0/http-protocol-binding.md
https://github.com/cloudevents/spec/blob/v1.0/http-protocol-binding.md#13-content-modes