|
67 | 67 | | :ref:`Responses if no error and no | Responses for no SQL |
|
68 | 68 | | SQL <box_protocol-responses>` | |
|
69 | 69 | +----------------------------------------------------+------------------------+
|
| 70 | + | :ref:`Responses if no error and out-of-band | Responses for | |
| 71 | + | <box_protocol-responses_out_of_band>` | out-of-band | |
| 72 | + +----------------------------------------------------+------------------------+ |
70 | 73 | | :ref:`Responses for errors | Responses for errors |
|
71 | 74 | | <box_protocol-responses_error>` | |
|
72 | 75 | +----------------------------------------------------+------------------------+
|
@@ -197,6 +200,7 @@ The IPROTO constants that appear within requests or responses that we will descr
|
197 | 200 | IPROTO_FIELD_IS_NULLABLE=0x03
|
198 | 201 | IPROTO_FIELD_IS_AUTOINCREMENT=0x04
|
199 | 202 | IPROTO_FIELD_SPAN=0x05
|
| 203 | + IPROTO_CHUNK=0x80 |
200 | 204 |
|
201 | 205 | To denote message descriptions we will say ``msgpack(...)`` and within it we will use modified
|
202 | 206 | `YAML <https://en.wikipedia.org/wiki/YAML>`_ so: |br|
|
@@ -924,6 +928,14 @@ so if we were using net_box we could decode with
|
924 | 928 | or we could convert to a string with :samp:`ffi.string({pointer},{length})`.
|
925 | 929 | The :ref:`pickle.unpack() <pickle-unpack>` function might also be helpful.
|
926 | 930 |
|
| 931 | +.. _box_protocol-responses_out_of_band: |
| 932 | + |
| 933 | +Responses for no error and out-of-band |
| 934 | +-------------------------------------- |
| 935 | + |
| 936 | +If the response is out-of-band, due to use of |
| 937 | +:ref:`box.session.push() <box_session-push>`, |
| 938 | +then the header Response-Code-indicator will be IPROTO_CHUNK instead of IPROTO_OK. |
927 | 939 |
|
928 | 940 | .. _box_protocol-responses_error:
|
929 | 941 |
|
|
0 commit comments