@achingbrain/nat-port-mapper
Version:
Port mapping with UPnP and NAT-PMP
9 lines • 436 B
TypeScript
import type { FindGatewaysOptions, Gateway, UPnPNATOptions } from '../index.js';
import type { AbortOptions } from 'abort-error';
export declare class UPnPClient {
private readonly options;
constructor(options?: UPnPNATOptions);
findGateways(options?: FindGatewaysOptions): AsyncGenerator<Gateway, void, unknown>;
getGateway(location: URL, options?: AbortOptions): Promise<Gateway>;
}
//# sourceMappingURL=index.d.ts.map