ServerNotify

Notifications about the creation and closing of TCPConnections within HTTP servers.

interface ref ServerNotify

Public Functions

listening

Called when we are listening.

fun ref listening(
  server: HTTPServer ref)
: None val

Parameters

Returns


not_listening

Called when we fail to listen.

fun ref not_listening(
  server: HTTPServer ref)
: None val

Parameters

Returns


closed

Called when we stop listening.

fun ref closed(
  server: HTTPServer ref)
: None val

Parameters

Returns