get_protocol


Description:

public unowned string? get_protocol ()

Get the protocol chosen via negotiation with the peer.

Parameters:

this

the WebSocket

Returns:

the chosen protocol, or null