Interface IHTTPConnectionContext

Basic HTTP connection information

interface IHTTPConnectionContext {
    aborted: boolean;
    ip: string;
    passkey?: string;
    sent: boolean;
    url: string;
    send(payload, options): Promise<void>;
}

Hierarchy (view full)

Implemented by

Properties

Methods

Properties

aborted: boolean

Is the request aborted

ip: string

Returns the connection ip addres

passkey?: string

Returns the current URL path

sent: boolean

Has an answer been sent

url: string

Returns the current URL path

Methods