nativescript-dna-netservices
Version:
NativeScript plugin for Bonjour/ZeroConf and network monitoring. RxJS based APIs for Android and iOS.
8 lines (7 loc) • 322 B
TypeScript
import { Observable } from "rxjs";
import { ZeroConf } from "./netservice.common";
export declare class ZeroConfService {
constructor();
publish(o: {domain: string; type: string; name: string; port: number;}): Observable<ZeroConf>;
resolve(o: {domain: string; type: string; name: string; }): Observable<ZeroConf>;
}