Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BinaryHTTPEmitter

A class to emit binary CloudEvents over HTTP.

Hierarchy

  • BinaryHTTPEmitter

Index

Constructors

Methods

Constructors

constructor

  • 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

    Parameters

    • version: string

      the CloudEvent HTTP specification version. Default: 1.0

    Returns BinaryHTTPEmitter

Methods

emit

  • emit(options: {}, cloudevent: Object): Promise<any>

Generated using TypeDoc