Class WrakerAppRequest

Represents the request object for the Wraker application.

Constructors

Properties

baseUrl: string
body: any
cookies: Record<string, any>
hostname: string
method: Method
originalUrl: string
path: `/${string}`

Methods

  • Returns the value of the specified header field.

    Parameters

    • field: string

      The header field to retrieve.

    Returns undefined | string

    The value of the specified header field.