summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@grpc/grpc-js/build/src/uri-parser.d.ts
blob: c4d71aa06365fd5d86f83d29b6cb02bf0753463f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export interface GrpcUri {
    scheme?: string;
    authority?: string;
    path: string;
}
export declare function parseUri(uriString: string): GrpcUri | null;
export interface HostPort {
    host: string;
    port?: number;
}
export declare function splitHostPort(path: string): HostPort | null;
export declare function uriToString(uri: GrpcUri): string;