@inrupt/solid-client-notifications / interfaces / NotificationOptions
Interface: NotificationOptions#
interfaces.NotificationOptions
Table of contents#
Properties#
Properties#
features#
• Optional
features: FeatureOptions
Defined in#
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#
gateway#
• Optional
gateway: string
Automatically discovered based on the topic passed
Defined in#
host#
• Optional
host: string
Automatically discovered based on the topic passed