Files
tasq/node_modules/http-proxy-middleware/dist/utils/logger-plugin.d.ts
T
2026-04-09 19:01:53 +08:00

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;