code: async def send(self, pkt):
          
          if not await self.check_ping_timeout():
              return
          if self.upgrading:
              self.packet_backlog.append(pkt)
          else:
              await self.queue.put(pkt)
          self.server.logger.info('%s: Sending packet %s data %s',
                                  self.sid, packet.packet_names[pkt.packet_type],
                                  pkt.data if not isinstance(pkt.data, bytes)
                                  else '<binary>')
docs: Send a packet to the client.