iya-sts
    Preparing search index...

    Variable respond

    respond: (
        req: any,
        res: any,
        json: any,
        title: any,
        active: any,
        html: any,
        up?: any,
    ) => void = ...

    Type Declaration

      • (
            req: any,
            res: any,
            json: any,
            title: any,
            active: any,
            html: any,
            up?: any,
        ): void
      • Answers a console page as JSON for ?format=json, as HTML otherwise.

        Every answer is no-store; the HTML is drawn by page() with the CSRF token added.

        Parameters

        • req: any

          the request

        • res: any

          the response

        • json: any

          the page's JSON answer

        • title: any

          the page's title

        • active: any

          the path of the page

        • html: any

          the page body as HTML

        • Optionalup: any

          optional; upTo()'s answer on a drill-down

        Returns void