1 | export interface GrpcUri {
|
2 | scheme?: string;
|
3 | authority?: string;
|
4 | path: string;
|
5 | }
|
6 | export declare function parseUri(uriString: string): GrpcUri | null;
|
7 | export interface HostPort {
|
8 | host: string;
|
9 | port?: number;
|
10 | }
|
11 | export declare function splitHostPort(path: string): HostPort | null;
|
12 | export declare function combineHostPort(hostPort: HostPort): string;
|
13 | export declare function uriToString(uri: GrpcUri): string;
|