hybrid-torrent-tracker
    Preparing search index...

    Interface IHTTPConnectionContext

    Basic HTTP connection information

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

    Hierarchy (View Summary)

    Implemented by

    Index

    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