import { ServerRequest } from '../../external/http.ts' import {HTTPResponse} from "./HTTPResponse.ts"; export interface HTTPProtocol { string: string, major: number, minor: number, } export interface RemoteHost { hostname: string, port: number, transport: string, } export interface HTTPRequest { url: string method: string protocol: HTTPProtocol headers: Headers connection: Deno.Conn response: HTTPResponse to_native: ServerRequest remote: RemoteHost body: any query: any hostname: string | undefined secure: boolean }