@gibme/ssdp
    Preparing search index...

    Type Alias Options

    Options: Partial<SSDP.Options> & {
        authenticationProvider: (
            ipAddress: string,
        ) => Promise<boolean> | boolean;
        interval: number;
        services: Record<string, HeadersInit>;
        uuid: string;
    }

    Type declaration

    • authenticationProvider: (ipAddress: string) => Promise<boolean> | boolean

      The authentication provider that is used to validate whether we should respond to search requests sent from the specified IP address

      Note: return true if we should respond and false if we should not respond

      () => true
      
    • interval: number

      How often (in ms) we will advertise our service(s) to the network

      60000
      
    • services: Record<string, HeadersInit>

      The initial services to advertise

    • uuid: string

      The UUID for the instance of this server

      new v7 UUID