Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Request

Request class Request class Route handler parameter decorator. Extracts the Request object from the underlying platform and populates the decorated parameter with the value of Request.

Example: logout(@Request() req)

param

input Url or Request instance

param

init Custom options

returns

Void

param

input Url or Request instance

param

init Custom options

returns

Void

see

Request object

publicapi

Hierarchy

  • Request

Index

Constructors

Accessors

Methods

Constructors

constructor

  • Parameters

    • input: any

    Returns Request

Accessors

headers

  • Returns Headers

method

  • get method(): any
  • Returns any

redirect

  • get redirect(): any
  • Returns any

signal

  • get signal(): any
  • Returns any

url

  • get url(): any
  • Returns any

Methods

clone

  • Clone this request

    Returns Request

    Request

Generated using TypeDoc