Socket IOPacket
A Socket.IO packet, as defined in the Socket.IO protocol.
Exact payload types can be checked against the reference implementation.
Inheritors
Types
Link copied to clipboard
data class BinaryAck(val namespace: String, val ackId: Int, val payload: List<PayloadElement>, val nBinaryAttachments: Int) : SocketIOPacket.BinaryMessage
Used to acknowledge an event (when the response includes binary data).
Link copied to clipboard
data class BinaryEvent(val namespace: String, val ackId: Int?, val payload: List<PayloadElement>, val nBinaryAttachments: Int) : SocketIOPacket.BinaryMessage
Used to send binary data to the other side.
Link copied to clipboard
Link copied to clipboard
Used during the connection to a namespace.
Link copied to clipboard
Used during the connection to a namespace.
Link copied to clipboard
Used when disconnecting from a namespace.
Link copied to clipboard
A parent for packet types having a payload.
Link copied to clipboard
A parent for message packet types.