CloudEventDataFormat Enum

Definition

Specifies the format that the data of a CloudEvent should be sent in when using the JSON envelope format for a CloudEvent. https://github.com/cloudevents/spec/blob/v1.0/json-format.md#31-handling-of-data.

public enum CloudEventDataFormat
type CloudEventDataFormat = 
Public Enum CloudEventDataFormat
Inheritance
CloudEventDataFormat

Fields

Binary 0

Indicates the Data should be serialized as binary data. This data will be included as a Base64 encoded string in the "data_base64" field of the JSON payload.

Json 1

Indicates the Data should be serialized as JSON. The data will be included in the "data" field of the JSON payload.

Applies to