getHostInfoFromPort
@tsed/core
Usage
typescript
import { getHostInfoFromPort } from "@tsed/core";
See /packages/core/src/types/utils/http/getHostInfoFromPort.ts.
Overview
ts
function getHostInfoFromPort(protocol: string, addressPort: any): {
protocol: string;
address: string;
port: number;
toString(): string;
};
protocol
ts
protocol: string;
address
ts
address: string;
port
ts
port: number;
toString
ts
toString(): string;