use of com.corundumstudio.socketio.messages.XHROptionsMessage in project netty-socketio by mrniko.
the class PollingTransport method onOptions.
private void onOptions(UUID sessionId, ChannelHandlerContext ctx, String origin) {
ClientHead client = clientsBox.get(sessionId);
if (client == null) {
log.error("{} is not registered. Closing connection", sessionId);
sendError(ctx);
return;
}
ctx.channel().writeAndFlush(new XHROptionsMessage(origin, sessionId));
}
Aggregations