WebsocketConnection.protocol

Get protocol property.

class WebsocketConnection
@property
string
protocol
()

Return Value

Type: string

The chosen protocol, or null if a protocol was not agreed upon.