@inrupt/solid-client-notifications / interfaces / NotificationOptions

Interface: NotificationOptions#

interfaces.NotificationOptions

Table of contents#

Properties#

Properties#

features#

Optional features: FeatureOptions

Defined in#

src/interfaces.ts:42


fetch#

Optional fetch: (input: RequestInfo, init?: RequestInit) => Promise<Response>

Type declaration#

▸ (input, init?): Promise<Response>

A WHATWG Fetch API compatible function used when making requests for discovering metadata for notifications. See the documentation for setSessionFetch in the WebsocketNotification class.

Parameters#

Name

Type

input

RequestInfo

init?

RequestInit

Returns#

Promise<Response>

Defined in#

src/interfaces.ts:57


gateway#

Optional gateway: string

Automatically discovered based on the topic passed

Defined in#

src/interfaces.ts:46


host#

Optional host: string

Automatically discovered based on the topic passed

Defined in#

src/interfaces.ts:50