Skip to main content

HttpSettings

@webda/cloudevents


Interface: HttpSettings

Defined in: subscription.ts:8

For HTTP, the following settings properties SHOULD be supported by all implementations.

Properties​

headers?​

optional headers?: object

Defined in: subscription.ts:12

A set of key/value pairs that is copied into the HTTP request as custom headers.

Index Signature​

[key: string]: string


method?​

optional method?: "POST" | "PUT"

Defined in: subscription.ts:16

The HTTP method to use for sending the message. This defaults to POST if not set.