We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7779354 commit 5a4f90aCopy full SHA for 5a4f90a
1 file changed
ws4py/framing.py
@@ -22,7 +22,7 @@ def __init__(self, opcode=None, body='', masking_key=None, fin=0, rsv1=0, rsv2=0
22
23
.. code-block:: python
24
:linenos:
25
- >>> test_mask = '\xbe\x04\xe6j' # perhaps from os.urandom(4)
+ >>> test_mask = 'XXXXXX' # perhaps from os.urandom(4)
26
>>> f = Frame(OPCODE_TEXT, 'hello world', masking_key=test_mask, fin=1)
27
>>> bytes = f.build()
28
>>> bytes.encode('hex')
0 commit comments