Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Context

Index

Properties

async

async: boolean

cacheDuration

cacheDuration: number

cacheGroups

cacheGroups: string[]

cacheKey

cacheKey: string

created

created: boolean

debug

debug: boolean

done

done: boolean

log

log: Logger

name

name: string

path

path: string

request

response

response: ContextResponse

variables

variables: {}

Type declaration

  • [key: string]: any

Methods

redirect

  • redirect(url: string, status: number): void
  • Parameters

    • url: string
    • status: number

    Returns void

write

  • write(bytes: any): void

writeJson

  • writeJson(value: any, indent?: string): void
  • Parameters

    • value: any
    • Optional indent: string

    Returns void

writeString

  • writeString(value: string): void

writeYaml

  • writeYaml(value: any, indent?: string): void
  • Parameters

    • value: any
    • Optional indent: string

    Returns void

Generated using TypeDoc