@inrupt/solid-client-notifications
    Preparing search index...

    Interface NotificationOptions

    interface NotificationOptions {
        features?: FeatureOptions;
        fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        gateway?: string;
        host?: string;
    }
    Index

    Properties

    features?: FeatureOptions
    fetch?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, 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: URL | RequestInfo, init?: RequestInit): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    gateway?: string

    Automatically discovered based on the topic passed

    host?: string

    Automatically discovered based on the topic passed