UNPKG

@achingbrain/ssdp

Version:

Yet another SSDP implementation for node.js

13 lines 425 B
import type { CachedAdvert } from '../adverts.js'; import type { Advertisement, SSDP } from '../index.js'; export interface Advert { usn: string; interval: number; ttl: number; ipv4: boolean; ipv6: boolean; location: Record<string, string>; details(): Promise<any>; } export declare function advertise(ssdp: SSDP, options: Advertisement): Promise<CachedAdvert>; //# sourceMappingURL=index.d.ts.map