Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
33
my-app/node_modules/bonjour-service/dist/lib/browser.d.ts
generated
vendored
Executable file
33
my-app/node_modules/bonjour-service/dist/lib/browser.d.ts
generated
vendored
Executable file
|
@ -0,0 +1,33 @@
|
|||
/// <reference types="node" />
|
||||
import KeyValue from './KeyValue';
|
||||
import { EventEmitter } from 'events';
|
||||
import Service from './service';
|
||||
export interface BrowserConfig {
|
||||
type: string;
|
||||
name?: string;
|
||||
protocol?: 'tcp' | 'udp';
|
||||
subtypes?: string[];
|
||||
txt?: KeyValue;
|
||||
}
|
||||
export type BrowserOnUp = (service: Service) => void;
|
||||
export declare class Browser extends EventEmitter {
|
||||
private mdns;
|
||||
private onresponse;
|
||||
private serviceMap;
|
||||
private txt;
|
||||
private name?;
|
||||
private txtQuery;
|
||||
private wildcard;
|
||||
private _services;
|
||||
constructor(mdns: any, opts: BrowserConfig | BrowserOnUp | null, onup?: BrowserOnUp);
|
||||
start(): void;
|
||||
stop(): void;
|
||||
update(): void;
|
||||
get services(): Service[];
|
||||
private addService;
|
||||
private updateService;
|
||||
private removeService;
|
||||
private goodbyes;
|
||||
private buildServicesFor;
|
||||
}
|
||||
export default Browser;
|
Loading…
Add table
Add a link
Reference in a new issue