RequestInfo defines a HTTP request data struct, usually used as part of the @request.* filter resolver.

The Query and Headers fields contains only the first value for each found entry.

Hierarchy

  • RequestInfo

Methods

  • Clone creates a new shallow copy of the current RequestInfo and its Auth record (if any).

    Returns RequestInfo

  • HasSuperuserAuth checks whether the current RequestInfo instance has superuser authentication loaded.

    Returns boolean

Properties

auth?: core.Record
context: string
headers: _TygojaDict
method: string

Generated using TypeDoc