/// import { IncomingMessage } from 'http'; import { ReadonlyMap, HttpHeaderKeys } from '../http/index'; /** * Request type passed to WebService and WebSocketService authorize handlers. This * type only provides access to the requests headers and querystring parameters. */ export declare class Request { #private; constructor(request: IncomingMessage); /** * Gets the ip address associated with this request. This address will either * be the raw socket remoteAddress, or in the instance of a load balancer, the * x-forwarded-for address. If no address can be resolved, then this function * returns 0.0.0.0. */ get ipAddress(): string; /** Gets the http headers for this request */ get headers(): ReadonlyMap; /** Gets the parsed querystring parameters for this request */ get query(): ReadonlyMap; }