Options
All
  • Public
  • Public/Protected
  • All
Menu

Initialisation parameters for a request handler

Type parameters

  • T

Hierarchy

Index

Properties

callback

callback: (handler: MockHttpRequest<T>) => T

Callback for handling request to the associated URL

Type declaration

metadata

metadata: any

Data related to the

method

method: HttpVerb

HTTP Verb the handler is associated with

path

path: string

URL path handled by the object

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc