SocketDataBufferable

public protocol SocketDataBufferable : AnyObject

Says that a type will be able to buffer binary data before all data for an event has come in.

  • A list of packets that are waiting for binary data.

    The way that socket.io works all data should be sent directly after each packet. So this should ideally be an array of one packet waiting for data.

    This should not be modified directly.

    Declaration

    Swift

    var waitingPackets: [SocketPacket]