+-+------+---------+-+---------+ |F|xxx(3)|opcode(4)|R|len(7) | +-+------+---------+-+---------+ OPCODES 0 - cont 1 - close 2 - ping 3 - pong 4 - text 5 - binary
48495051525354
throws IOException { _hIn = new HmtpReader(); UnmaskedFrameInputStream fIs = new UnmaskedFrameInputStream(); fIs.init(is); _wsIs = new WebSocketInputStream(fIs); }
256257258259260261262
} protected WebSocketInputStream createWebSocketInputStream(FrameInputStream is) throws IOException { return new WebSocketInputStream(is); }