Skip to content

ALPNProtocolNotify

[Source]

A TCPConnectionNotify that also implements this is told the protocol ALPN negotiated, once the handshake is complete.

interface ref ALPNProtocolNotify

Public Functions

alpn_negotiated

[Source]

The protocol the peers agreed on, or None when they agreed on none. Called once, before any application data reaches received.

fun ref alpn_negotiated(
  conn: TCPConnection tag,
  protocol: (String val | None val))
: None val

Parameters

Returns