Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for data needed to handle Mock HTTP requests

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

path_parts

path_parts: string[]

Parameter keys for set path

path_structure

path_structure: string[]

Parameter keys for set path

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