closeConnection
Closes the websocket connection if the transport is a WebSocketNetworkTransport.
Throws
if transport is not a WebSocketNetworkTransport.
Closes the websocket connection if the transport is a WebSocketNetworkTransport.
if transport is not a WebSocketNetworkTransport.