Options
All
  • Public
  • Public/Protected
  • All
Menu
     

Interface TPRequest

A plain-object representation of a request-object's parameters.

Hierarchy

  • TPRequest_
    • TPRequest

Index

Properties

originalUrl

originalUrl: string

The url that called this request.

Optional headers

headers: object

A plain-object of any headers within this request.

Type declaration

  • [headerName: string]: string

Optional body

body: object

A plain-object of any body within this request.

Type declaration

  • [paramName: string]: string

Optional query

query: object

A plain-object of any query within this request.

Type declaration

  • [paramName: string]: string

Optional files

files: string[]

An Array any files within this request.