Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestContextHost<TData, TContext>

Type parameters

Hierarchy

  • RequestContextHost

Implements

Index

Constructors

constructor

  • new RequestContextHost(pattern: string | Record<string, any>, data: TData, context: TContext): RequestContextHost

Properties

Readonly context

context: TContext

Readonly data

data: TData

Readonly pattern

pattern: string | Record<string, any>

Methods

getContext

  • getContext(): TContext

getData

  • getData(): TData

getPattern

  • getPattern(): string | Record<string, any>

Static create

  • create<TData, TContext>(pattern: string | Record<string, any>, data: TData, context: TContext): RequestContext<TData, TContext>

Generated using TypeDoc