Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResponseService

Hierarchy

  • ResponseService

Index

Constructors

constructor

Methods

done

  • done(): TextOutput

error

html

  • html(html: string): HtmlOutput

json

  • json<Data>(data: Data): TextOutput

oops

  • oops(code: "403" | "404" | "500" | "501"): HtmlOutput

render

  • render(templating: string | HtmlTemplate, data?: {}, viewEngine?: ViewEngine): HtmlOutput

send

  • send<Data>(data: string | Data): HtmlOutput | TextOutput

success

  • success<Data>(data: Data): TextOutput

Generated using TypeDoc