first commit
This commit is contained in:
14
app_vue/node_modules/bonjour-service/dist/index.d.ts
generated
vendored
Normal file
14
app_vue/node_modules/bonjour-service/dist/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
import Browser, { BrowserConfig } from './lib/browser';
|
||||
import Service, { ServiceConfig, ServiceReferer } from './lib/service';
|
||||
export declare class Bonjour {
|
||||
private server;
|
||||
private registry;
|
||||
constructor(opts?: Partial<ServiceConfig>, errorCallback?: Function | undefined);
|
||||
publish(opts: ServiceConfig): Service;
|
||||
unpublishAll(callback?: CallableFunction | undefined): void;
|
||||
find(opts?: BrowserConfig | null, onup?: (service: Service) => void): Browser;
|
||||
findOne(opts?: BrowserConfig | null, timeout?: number, callback?: CallableFunction): Browser;
|
||||
destroy(callback?: CallableFunction): void;
|
||||
}
|
||||
export { Service, ServiceReferer, ServiceConfig, Browser, BrowserConfig };
|
||||
export default Bonjour;
|
Reference in New Issue
Block a user