Options
All
  • Public
  • Public/Protected
  • All
Menu

giuseppe-reqres-plugin

Index

Functions

Req

  • Req(): ParameterDecorator
  • Parameter decorator. Creates a parameter definition that injects the express js request object.

    export

    Returns ParameterDecorator

Res

  • Res(): ParameterDecorator
  • Parameter decorator. Creates a parameter definition that injects the express js response object. Note that when you inject this parameter, you need to handle the response for yourself. The field "canHandleResponse" is set, so giuseppe won't run the result of the function through the return type handler.

    export

    Returns ParameterDecorator

Generated using TypeDoc