You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Protocol.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,9 @@ See [Fragmentation and Reassembly](#fragmentation-and-reassembly).
53
53
provide capabilities mentioned in the [transport protocol](#transport-protocol) section.
54
54
*__Stream__: Unit of operation (request/response, etc.). See [Motivations](Motivations.md).
55
55
*__Request__: A stream request. May be one of four types. As well as request for more items or cancellation of previous request.
56
-
*__Payload__: A stream message (upstream or downstream). Contains data associated with a stream created by a previous request.
56
+
*__Payload__: A stream message (upstream or downstream). Contains data associated with a stream created by a previous request. In Reactive Streams and Rx this is the 'onNext' event.
57
+
*__Complete__: Terminal event sent on a stream to signal successful completion. In Reactive Streams and Rx this is the 'onComplete' event.
58
+
* A frame (PAYLOAD or REQUEST_CHANNEL) with the Complete bit set is sometimes referred to as COMPLETE in this document when reference to the frame is semantically about the Complete bit/event.
57
59
*__Client__: The side initiating a connection.
58
60
*__Server__: The side accepting connections from clients.
59
61
*__Connection__: The instance of a transport session between client and server.
@@ -527,7 +529,8 @@ Frame Contents
527
529
*__Flags__: (10 bits)
528
530
* (__M__)etadata: Metadata present
529
531
* (__F__)ollows: More fragments follow this fragment.
530
-
* (__C__)omplete: bit to indicate COMPLETE.
532
+
* (__C__)omplete: bit to indicate stream completion.
533
+
* If set, `onComplete()` or equivalent will be invoked on Subscriber/Observer.
531
534
*__Initial Request N__: (31 bits = max value 2^31-1 = 2,147,483,647) Unsigned 31-bit integer representing the initial request N value for channel. Value MUST be > 0.
532
535
*__Request Data__: identification of the service being requested along with parameters for the request.
533
536
@@ -599,14 +602,12 @@ Frame Contents
599
602
*__Flags__: (10 bits)
600
603
* (__M__)etadata: Metadata Present.
601
604
* (__F__)ollows: More fragments follow this fragment.
602
-
* (__C__)omplete: bit to indicate COMPLETE.
605
+
* (__C__)omplete: bit to indicate stream completion.
603
606
* If set, `onComplete()` or equivalent will be invoked on Subscriber/Observer.
604
607
* (__N__)ext: bit to indicate Next (Payload Data and/or Metadata present).
605
608
* If set, `onNext(Payload)` or equivalent will be invoked on Subscriber/Observer.
606
609
*__Payload Data__: payload for Reactive Streams onNext.
607
610
608
-
A Payload with the Complete Bit set is referred to as a COMPLETE.
0 commit comments