mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 01:22:49 +00:00
8 lines
255 B
TypeScript
8 lines
255 B
TypeScript
import type { Agent } from 'node:http';
|
|
export type Sockets = Pick<Agent, 'sockets'>;
|
|
/**
|
|
* Get port from target
|
|
* Using proxyRes.req.agent.sockets to determine the target port
|
|
*/
|
|
export declare function getPort(sockets?: Sockets): string | undefined;
|