Creates a new StructuredHTTPReceiver. Supports Cloud Events specification versions 0.3 and 1.0 (default).
the Cloud Events specification version. Default: 1.0.
Checks whether the provided payload and headers conform to the Cloud Events specification version supported by this instance.
the cloud event data payload
the HTTP headers received for this cloud event
true if the payload and header combination are valid
Creates a new CloudEvent instance based on the provided payload and headers.
the cloud event data payload
the HTTP headers received for this cloud event
a new CloudEvent instance for the provided headers and payload
Generated using TypeDoc
A utility class used to receive structured CloudEvents over HTTP.
{StructuredReceiver}