Create a new {BinaryHTTPEmitter} for the provided CloudEvent specification version. Once an instance is created for a given spec version, it may only be used to send events for that version. Default version is 1.0
the CloudEvent HTTP specification version. Default: 1.0
Sends this cloud event to a receiver over HTTP.
The configuration options for this event. Options
provided other than url
will be passed along to Node.js http.request
.
https://nodejs.org/api/http.html#http_http_request_options_callback
the CloudEvent to be sent
Promise with an eventual response from the receiver
Generated using TypeDoc
A class to emit binary CloudEvents over HTTP.