A class that holds the context of inner message fragmentation and
builds a message from fragmented inner frame(s).
◆ __init__()
def webkitpy.thirdparty.mod_pywebsocket.mux._InnerMessageBuilder.__init__ |
( |
|
self | ) |
|
◆ build()
def webkitpy.thirdparty.mod_pywebsocket.mux._InnerMessageBuilder.build |
( |
|
self, |
|
|
|
frame |
|
) |
| |
Build an inner message. Returns an _InnerMessage instance when
the given frame is the last fragmented frame. Returns None otherwise.
Args:
frame: an inner frame.
Raises:
InvalidFrameException: when received invalid opcode. (e.g.
receiving non continuation data opcode but the fin flag of
the previous inner frame was not set.)
The documentation for this class was generated from the following file:
- Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/mux.py