WebsocketConnection.getConnectionType

Get the connection type (client/server) of the connection.

Returns

the connection type