This commit is contained in:
crusader 2018-05-04 20:09:47 +09:00
parent a9b6cce0b0
commit c8b5d806b9

View File

@ -65,7 +65,7 @@ public class RPCClientHandler extends SimpleChannelInboundHandler<WebSocketFrame
} }
try { try {
byte[] requestBytes = this.clientCodec.request(method, params, null); byte[] requestBytes = this.clientCodec.request(method, params, null);
this.ctx.channel().writeAndFlush(requestBytes); this.ctx.channel().writeAndFlush(new TextWebSocketFrame(new String(requestBytes)));
} catch (RPCException e) { } catch (RPCException e) {
logger.error("cannot create notification", e); logger.error("cannot create notification", e);
} }