iya-sts
    Preparing search index...

    Variable recordHttp

    recordHttp: (
        req: any,
        res: any,
        detail: any,
    ) => {
        action: string;
        actor: string;
        actorForm: string;
        address: string;
        at: number;
        category: any;
        channel: string;
        detail: { "(more)": string };
        errorCode: string;
        outcome: any;
        protocol: string;
        seq: number;
        summary: string;
        target: string;
    } = recordHttp

    Type Declaration

      • (
            req: any,
            res: any,
            detail: any,
        ): {
            action: string;
            actor: string;
            actorForm: string;
            address: string;
            at: number;
            category: any;
            channel: string;
            detail: { "(more)": string };
            errorCode: string;
            outcome: any;
            protocol: string;
            seq: number;
            summary: string;
            target: string;
        }
      • Records one answered HTTP request; called by app.js's call log.

        Every failed response gets an error code, and is recorded even with audit.protocolCalls off. A healthcheck answered 200 is not recorded.

        Parameters

        • req: any

          the request

        • res: any

          the response

        • detail: any

          route, matched and durationMs

        Returns {
            action: string;
            actor: string;
            actorForm: string;
            address: string;
            at: number;
            category: any;
            channel: string;
            detail: { "(more)": string };
            errorCode: string;
            outcome: any;
            protocol: string;
            seq: number;
            summary: string;
            target: string;
        }

        the row written, or null when nothing was recorded