///
export interface IHttpFile {
originalName: string;
type: string;
size: number;
path: string;
extension: string;
}
export interface ITestHttpContext {
host?: string;
method?: string;
path: string;
protocol?: string;
URL?: URL;
ip?: string;
ips?: string[];
body?: any;
query?: Record;
headers?: Record;
files?: Record;
}
export interface ITestHttpResponse {
headers: Record;
status: number;
body: T;
redirect?: {
url: string;
alt?: string;
};
}