ing
This commit is contained in:
parent
a9b6cce0b0
commit
c8b5d806b9
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user