Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HTTPReceiver

A class to receive a CloudEvent from an HTTP POST request.

Hierarchy

  • HTTPReceiver

Index

Constructors

Methods

Constructors

constructor

Methods

accept

  • Acceptor for an incoming HTTP CloudEvent POST. Can process binary and structured incoming CloudEvents.

    Parameters

    • headers: {}

      HTTP headers keyed by header name ("Content-Type")

    • body: {}

      The body of the HTTP request

    Returns CloudEvent

    A new {CloudEvent} instance

Generated using TypeDoc