serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
18 lines (17 loc) • 395 B
TypeScript
import { QueryParameterBag } from "./http";
/**
* @internal
*
* Represents the components parts of a Uniform Resource Identifier used to
* construct the target location of a Request.
*/
export type URI = {
protocol: string;
hostname: string;
port?: number;
path: string;
query?: QueryParameterBag;
username?: string;
password?: string;
fragment?: string;
};