public final class PacketFramer extends Object
`�` [message lenth] `�`
Transports where the framing overhead is expensive (ie: when the xhr-polling
transport tries to send data to the server).| Modifier and Type | Method and Description |
|---|---|
static List<Packet> |
decodePacketsFrame(io.netty.buffer.ByteBuf buffer) |
static io.netty.buffer.ByteBuf |
encodePacketsFrame(PacketsFrame packetsFrame) |
public static io.netty.buffer.ByteBuf encodePacketsFrame(PacketsFrame packetsFrame) throws IOException
IOExceptionpublic static List<Packet> decodePacketsFrame(io.netty.buffer.ByteBuf buffer) throws IOException
IOExceptionCopyright © 2012–2016. All rights reserved.