Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerResponse

Hierarchy

  • ServerResponse

Implements

Index

Constructors

constructor

Properties

body

body: string

cacheControl

cacheControl: CacheControlType = CacheControlType.Public

maxAge

maxAge: number = 3600

serialize

serialize: () => string

Type declaration

    • (): string
    • Returns string

Optional statusCode

statusCode: undefined | number

Optional statusMessage

statusMessage: undefined | string

template

template: string

url

url: string

vars