Skip to content

ServerNotify

[Source]

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

interface ref ServerNotify

Public Functions

listening

[Source]

Called when we are listening.

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

Parameters

Returns


not_listening

[Source]

Called when we fail to listen.

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

Parameters

Returns


closed

[Source]

Called when we stop listening.

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

Parameters

Returns