Options
All
  • Public
  • Public/Protected
  • All
Menu

TemplatedApp is either an SSL or non-SSL app. See App for more info, read user manual.

Hierarchy

  • TemplatedApp

Index

Methods

addServerName

any

connect

del

get

head

listen

missingServerName

  • missingServerName(cb: (hostname: string) => void): TemplatedApp
  • Registers a synchronous callback on missing server names. See /examples/ServerName.js.

    Parameters

    • cb: (hostname: string) => void
        • (hostname: string): void
        • Parameters

          • hostname: string

          Returns void

    Returns TemplatedApp

numSubscribers

options

patch

post

publish

  • Publishes a message under topic, for all WebSockets under this app. See WebSocket.publish.

    Parameters

    Returns boolean

put

removeServerName

trace

ws

Generated using TypeDoc