10000 Documentation issue with not correct code snippets · Issue #173 · cloudevents/sdk-javascript · GitHub
[go: up one dir, main page]

Skip to content
Documentation issue with not correct code snippets #173
Closed
@alexkhimich

Description

@alexkhimich

The class names are diff.

const {
  CloudEvent,
  **HTTPReceiever**
} = require("cloudevents-sdk");

// Create a receiver to accept events over HTTP
const receiver = new **HTTPReceiver**();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0