equal
deleted
inserted
replaced
2763 |
2763 |
2764 It is possible to emit a *Unified Frame-Based Protocol* by using special |
2764 It is possible to emit a *Unified Frame-Based Protocol* by using special |
2765 syntax. |
2765 syntax. |
2766 |
2766 |
2767 A frame is composed as a type, flags, and payload. These can be parsed |
2767 A frame is composed as a type, flags, and payload. These can be parsed |
2768 from a string of the form ``<type> <flags> <payload>``. That is, 3 |
2768 from a string of the form ``<requestid> <type> <flags> <payload>``. That is, |
2769 space-delimited strings. |
2769 4 space-delimited strings. |
2770 |
2770 |
2771 ``payload`` is the simplest: it is evaluated as a Python byte string |
2771 ``payload`` is the simplest: it is evaluated as a Python byte string |
2772 literal. |
2772 literal. |
|
2773 |
|
2774 ``requestid`` is an integer defining the request identifier. |
2773 |
2775 |
2774 ``type`` can be an integer value for the frame type or the string name |
2776 ``type`` can be an integer value for the frame type or the string name |
2775 of the type. The strings are defined in ``wireprotoframing.py``. e.g. |
2777 of the type. The strings are defined in ``wireprotoframing.py``. e.g. |
2776 ``command-name``. |
2778 ``command-name``. |
2777 |
2779 |