Lines Matching refs:frame_write

26         self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
71 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
76 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
90 self.ws.frame_write(sock, self.ws.OP_TEXT, message, mask=False)
106 self.ws.frame_write(sock, self.ws.OP_TEXT, message, fin=False)
107 self.ws.frame_write(sock, self.ws.OP_CONT, ' ', fin=False)
108 self.ws.frame_write(sock, self.ws.OP_CONT, message)
125 self.ws.frame_write(sock, self.ws.OP_PING, message, fin=False)
152 self.ws.frame_write(sock1, self.ws.OP_TEXT, message1)
153 self.ws.frame_write(sock2, self.ws.OP_TEXT, message2)
351 self.ws.frame_write(sock, opcode, payload, chopsize=chopsize)
377 self.ws.frame_write(sock, opcode, payload, chopsize=chopsize)
402 self.ws.frame_write(sock, op_ping, payload, chopsize=chopsize)
419 self.ws.frame_write(sock, self.ws.OP_PING, b'\xfe' * 126)
429 self.ws.frame_write(sock, self.ws.OP_PONG, '')
434 self.ws.frame_write(sock, self.ws.OP_PONG, 'unsolicited pong payload')
441 self.ws.frame_write(sock, self.ws.OP_PONG, 'unsolicited pong payload')
442 self.ws.frame_write(sock, self.ws.OP_PING, payload)
457 self.ws.frame_write(sock, self.ws.OP_PING, 'payload-%d' % i)
467 self.ws.frame_write(sock, opcode, 'payload-%d' % i, chopsize=1)
485 self.ws.frame_write(sock, self.ws.OP_TEXT, payload, rsv1=True)
492 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
493 self.ws.frame_write(sock, self.ws.OP_TEXT, payload, rsv2=True)
494 self.ws.frame_write(sock, self.ws.OP_PING, '')
508 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
513 self.ws.frame_write(
526 self.ws.frame_write(sock, self.ws.OP_TEXT, payload, chopsize=1)
527 self.ws.frame_write(
530 self.ws.frame_write(sock, self.ws.OP_PING, '')
544 self.ws.frame_write(
558 self.ws.frame_write(
568 self.ws.frame_write(
583 self.ws.frame_write(sock, 0x03, '')
590 self.ws.frame_write(sock, 0x04, 'reserved opcode payload')
597 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
602 self.ws.frame_write(sock, 0x05, '')
603 self.ws.frame_write(sock, self.ws.OP_PING, '')
611 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
616 self.ws.frame_write(sock, 0x06, payload)
617 self.ws.frame_write(sock, self.ws.OP_PING, '')
625 self.ws.frame_write(sock, self.ws.OP_TEXT, payload, chopsize=1)
630 self.ws.frame_write(sock, 0x07, payload, chopsize=1)
631 self.ws.frame_write(sock, self.ws.OP_PING, '')
639 self.ws.frame_write(sock, 0x0B, '')
646 self.ws.frame_write(sock, 0x0C, 'reserved opcode payload')
653 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
658 self.ws.frame_write(sock, 0x0D, '')
659 self.ws.frame_write(sock, self.ws.OP_PING, '')
667 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
672 self.ws.frame_write(sock, 0x0E, payload)
673 self.ws.frame_write(sock, self.ws.OP_PING, '')
681 self.ws.frame_write(sock, self.ws.OP_TEXT, payload, chopsize=1)
686 self.ws.frame_write(sock, 0x0F, payload, chopsize=1)
687 self.ws.frame_write(sock, self.ws.OP_PING, '')
698 self.ws.frame_write(sock, self.ws.OP_PING, 'fragment1', fin=False)
699 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=True)
706 self.ws.frame_write(sock, self.ws.OP_PONG, 'fragment1', fin=False)
707 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=True)
714 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
715 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=True)
722 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
724 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=True)
731 self.ws.frame_write(
734 self.ws.frame_write(
745 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
746 self.ws.frame_write(sock, self.ws.OP_PING, ping_payload)
747 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=True)
759 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
762 self.ws.frame_write(sock, self.ws.OP_PING, ping_payload)
767 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=True)
776 self.ws.frame_write(
779 self.ws.frame_write(sock, self.ws.OP_PING, ping_payload, chopsize=1)
780 self.ws.frame_write(
792 self.ws.frame_write(
795 self.ws.frame_write(sock, self.ws.OP_TEXT, 'Hello, world!', fin=True)
802 self.ws.frame_write(
805 self.ws.frame_write(sock, self.ws.OP_TEXT, 'Hello, world!', fin=True)
812 self.ws.frame_write(
819 self.ws.frame_write(
828 self.ws.frame_write(
831 self.ws.frame_write(sock, self.ws.OP_TEXT, 'Hello, world!', fin=True)
838 self.ws.frame_write(
841 self.ws.frame_write(sock, self.ws.OP_TEXT, 'Hello, world!', fin=True)
848 self.ws.frame_write(
855 self.ws.frame_write(
864 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
865 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=True)
866 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment3', fin=False)
867 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment4', fin=True)
882 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment1', fin=False)
883 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment2', fin=False)
884 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment3', fin=True)
892 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment1', fin=True)
893 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment2', fin=False)
894 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment3', fin=True)
901 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
902 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment2')
909 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
910 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=False)
911 self.ws.frame_write(sock, self.ws.OP_PING, 'pongme 1!')
915 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment3', fin=False)
916 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment4', fin=False)
917 self.ws.frame_write(sock, self.ws.OP_PING, 'pongme 2!')
918 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment5')
935 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
936 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2', fin=False)
937 self.ws.frame_write(sock, self.ws.OP_PING, 'pongme 1!')
944 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment3', fin=False)
945 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment4', fin=False)
946 self.ws.frame_write(sock, self.ws.OP_PING, 'pongme 2!')
952 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment5')
970 self.ws.frame_write(sock, self.ws.OP_TEXT, '')
976 self.ws.frame_write(sock, self.ws.OP_TEXT, '', fin=False)
977 self.ws.frame_write(sock, self.ws.OP_CONT, '', fin=False)
978 self.ws.frame_write(sock, self.ws.OP_CONT, '')
987 self.ws.frame_write(sock, self.ws.OP_TEXT, '', fin=False)
988 self.ws.frame_write(sock, self.ws.OP_CONT, payload, fin=False)
989 self.ws.frame_write(sock, self.ws.OP_CONT, '')
998 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
1005 self.ws.frame_write(sock, self.ws.OP_TEXT, payload[:12], fin=False)
1006 self.ws.frame_write(sock, self.ws.OP_CONT, payload[12:])
1060 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
1071 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1072 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1080 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1083 self.ws.frame_write(sock, self.ws.OP_PING, '')
1092 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1095 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
1104 self.ws.frame_write(sock, self.ws.OP_TEXT, 'fragment1', fin=False)
1105 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1108 self.ws.frame_write(sock, self.ws.OP_CONT, 'fragment2')
1117 self.ws.frame_write(sock, self.ws.OP_TEXT, 'BAsd7&jh23' * 26 * 2**10)
1118 self.ws.frame_write(sock, self.ws.OP_TEXT, payload)
1119 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1123 self.ws.frame_write(sock, self.ws.OP_PING, '')
1132 self.ws.frame_write(sock, self.ws.OP_CLOSE, '')
1139 self.ws.frame_write(sock, self.ws.OP_CLOSE, 'a')
1146 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1155 self.ws.frame_write(sock, self.ws.OP_CLOSE, payload)
1164 self.ws.frame_write(sock, self.ws.OP_CLOSE, payload)
1173 self.ws.frame_write(sock, self.ws.OP_CLOSE, payload)
1212 self.ws.frame_write(sock, self.ws.OP_CLOSE, payload)
1220 self.ws.frame_write(sock, self.ws.OP_CLOSE, payload)
1232 self.ws.frame_write(sock, self.ws.OP_CLOSE, payload)
1241 self.ws.frame_write(sock, self.ws.OP_CLOSE, payload)
1273 self.ws.frame_write(sock, opcode, payload, chopsize=chopsize)
1366 self.ws.frame_write(sock, opcode, payload) # frame length is 100
1373 self.ws.frame_write(sock, opcode, payload) # frame length is 101