@inrupt/solid-client-notifications / interfaces / NotificationOptions
Interface: NotificationOptions#
interfaces.NotificationOptions
Table of contents#
Properties#
Properties#
features#
• Optional features: FeatureOptions
Defined in#
src/interfaces.ts:39
fetch#
• Optional fetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>(input: string | Request | URL, init?: RequestInit) => 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.
Type declaration#
▸ (input, init?): Promise<Response>
Parameters#
Name |
Type |
|---|---|
|
|
|
|
Returns#
Promise<Response>
▸ (input, init?): Promise<Response>
Parameters#
Name |
Type |
|---|---|
|
|
|
|
Returns#
Promise<Response>
Defined in#
src/interfaces.ts:54
gateway#
• Optional gateway: string
Automatically discovered based on the topic passed
Defined in#
src/interfaces.ts:43
host#
• Optional host: string
Automatically discovered based on the topic passed
Defined in#
src/interfaces.ts:47