(self, eio_sid, pkt)
Send a Socket.IO packet to a client.
Send a Socket.IO packet to a client.
Send a Socket . IO packet to a client .
def _send_packet(self, eio_sid, pkt):
        """Send a Socket.IO packet to a client."""
        encoded_packet = pkt.encode()
        if isinstance(encoded_packet, list):
            for ep in encoded_packet:
                self.eio.send(eio_sid, ep)
        else:
            self.eio.send(eio_sid, encoded_packet)
def _send_packet ( self , eio_sid , pkt ) : encoded_packet = pkt . encode ( ) if isinstance ( encoded_packet , list ) : for ep in encoded_packet : self . eio . send ( eio_sid , ep ) else : self . eio . send ( eio_sid , encoded_packet )