writeHandshakeRequest method

String writeHandshakeRequest(
  1. HandshakeRequestMessage handshakeRequest
)

Implementation

String writeHandshakeRequest(HandshakeRequestMessage handshakeRequest) {
  return TextMessageFormat.write(json.encode(handshakeRequest));
}