Back to Pocketbase

Interface RequestInfo

static/jsvm/interfaces/core.RequestInfo.html

latest1.7 KB
Original Source

Interface RequestInfo

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

Index

Methods

clonehasSuperuserAuth

Properties

auth?bodycontextheadersmethodquery

Methods

clone

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

Returns RequestInfo

hasSuperuserAuth

  • hasSuperuserAuth(): boolean

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

Returns boolean

Properties

Optional auth

auth?: core.Record

body

body: _TygojaDict

context

context: string

headers

headers: _TygojaDict

method

method: string

query

query: _TygojaDict

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc