• Home
  • Raw
  • Download

Lines Matching refs:Http2Stream

120 `Http2Stream` objects.
185 with a specific `Http2Stream`, an attempt to emit a `'frameError'` event on the
186 `Http2Stream` is made.
261 * `stream` {Http2Stream} A reference to the stream
267 The `'stream'` event is emitted when a new `Http2Stream` is created.
346 complete on their own and preventing new `Http2Stream` instances from being
348 are no open `Http2Stream` instances.
423 * `lastStreamID` {number} The numeric ID of the last processed `Http2Stream`
588 next time a new `Http2Stream` is created by this `Http2Session`.
591 * `lastProcStreamID` {number} The numeric id of the `Http2Stream`
663 identifier of an active `Http2Stream` as given by the `http2stream.id`
684 service is associated with the origin of the given `Http2Stream`.
834 * `endStream` {boolean} `true` if the `Http2Stream` *writable* side should
846 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
854 creates and returns an `Http2Stream` instance that can be used to send an
881 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
884 `Http2Stream`.
896 ### Class: `Http2Stream`
903 Each instance of the `Http2Stream` class represents a bidirectional HTTP/2
905 may have up to 2<sup>31</sup>-1 `Http2Stream` instances over its lifetime.
907 User code will not construct `Http2Stream` instances directly. Rather, these
909 instance. On the server, `Http2Stream` instances are created either in response
912 On the client, `Http2Stream` instances are created and returned when either the
916 The `Http2Stream` class is a base for the [`ServerHttp2Stream`][] and
920 All `Http2Stream` instances are [`Duplex`][] streams. The `Writable` side of the
924 The default text character encoding for all `Http2Stream`s is UTF-8. As a best
925 practice, it is recommended that when using an `Http2Stream` to send text,
936 #### `Http2Stream` Lifecycle argument
949 On the client, the `Http2Stream` instance returned by `http2session.request()`
951 been fully established. In such cases, operations called on the `Http2Stream`
954 `Http2Stream` can be determined by checking the value of `http2stream.id`. If
959 All [`Http2Stream`][] instances are destroyed either when:
967 When an `Http2Stream` instance is destroyed, an attempt will be made to send an
970 When the `Http2Stream` instance is destroyed, the `'close'` event will
971 be emitted. Because `Http2Stream` is an instance of `stream.Duplex`, the
976 After the `Http2Stream` has been destroyed, the `http2stream.destroyed`
978 `RST_STREAM` error code. The `Http2Stream` instance is no longer usable once
986 The `'aborted'` event is emitted whenever a `Http2Stream` instance is
990 The `'aborted'` event will only be emitted if the `Http2Stream` writable side
998 The `'close'` event is emitted when the `Http2Stream` is destroyed. Once
999 this event is emitted, the `Http2Stream` instance is no longer usable.
1013 an `Http2Stream`.
1028 error code. The `Http2Stream` instance will be destroyed immediately after the
1036 The `'ready'` event is emitted when the `Http2Stream` has been opened, has
1046 `Http2Stream` within the number of milliseconds set using
1077 The `'wantTrailers'` event is emitted when the `Http2Stream` has queued the
1078 final `DATA` frame to be sent on a frame and the `Http2Stream` is ready to send
1089 Set to `true` if the `Http2Stream` instance was aborted abnormally. When set,
1114 Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the
1124 Set to `true` if the `Http2Stream` instance has been closed.
1133 Set to `true` if the `Http2Stream` instance has been destroyed and is no longer
1145 and the readable side of the `Http2Stream` will be closed.
1154 The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`
1164 Set to `true` if the `Http2Stream` instance has not yet been assigned a
1185 Updates the priority for this `Http2Stream` instance.
1194 Set to the `RST_STREAM` [error code][] reported when the `Http2Stream` is
1197 `undefined` if the `Http2Stream` has not been closed.
1206 An object containing the outbound headers sent for this `Http2Stream`.
1216 sent for this `Http2Stream`.
1234 A reference to the `Http2Session` instance that owns this `Http2Stream`. The
1235 value will be `undefined` after the `Http2Stream` instance is destroyed.
1260 `Http2Stream`.
1264 for this `Http2Stream` without receiving a `WINDOW_UPDATE`.
1266 `Http2Stream` as determined by `nghttp2`.
1267 * `localClose` {number} `1` if this `Http2Stream` has been closed locally.
1268 * `remoteClose` {number} `1` if this `Http2Stream` has been closed
1270 * `sumDependencyWeight` {number} The sum weight of all `Http2Stream`
1271 instances that depend on this `Http2Stream` as specified using
1273 * `weight` {number} The priority weight of this `Http2Stream`.
1275 A current state of this `Http2Stream`.
1285 will cause the `Http2Stream` to be immediately closed and must only be
1288 in order to keep the `Http2Stream` open after the final `DATA` frame so that
1311 * Extends {Http2Stream}
1313 The `ClientHttp2Stream` class is an extension of `Http2Stream` that is
1314 used exclusively on HTTP/2 Clients. `Http2Stream` instances on the client
1382 * Extends: {Http2Stream}
1384 The `ServerHttp2Stream` class is an extension of [`Http2Stream`][] that is
1385 used exclusively on HTTP/2 Servers. `Http2Stream` instances on the server
1417 `Http2Stream` in the same `Http2Session`.
1439 Initiates a push stream. The callback is invoked with the new `Http2Stream`
1477 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
1494 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
1497 `Http2Stream`.
1531 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
1538 attempting to read data using the file descriptor, the `Http2Stream` will be
1541 When used, the `Http2Stream` object's `Duplex` interface will be closed
1584 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
1587 `Http2Stream`.
1631 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
1637 or an `'error'` event will be emitted on the `Http2Stream` object.
1639 When used, the `Http2Stream` object's `Duplex` interface will be closed
1646 If an error occurs while attempting to read the file data, the `Http2Stream`
1718 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
1721 `Http2Stream`.
1815 * `stream` {Http2Stream} A reference to the stream
2011 * `stream` {Http2Stream} A reference to the stream
2189 This is a credit based limit, existing `Http2Stream`s may cause this
2190 limit to be exceeded, but new `Http2Stream` instances will be rejected
2191 while this limit is exceeded. The current number of `Http2Stream` sessions,
2338 credit based limit, existing `Http2Stream`s may cause this
2339 limit to be exceeded, but new `Http2Stream` instances will be rejected
2340 while this limit is exceeded. The current number of `Http2Stream` sessions,
2461 This is a credit based limit, existing `Http2Stream`s may cause this
2462 limit to be exceeded, but new `Http2Stream` instances will be rejected
2463 while this limit is exceeded. The current number of `Http2Stream` sessions,
2742 the `Http2Stream`, `Http2Session` or HTTP/2 Server objects, depending on where
2750 event on the `Http2Stream`, `Http2Session` or HTTP/2 Server objects, depending
2874 may be used to bootstrap the use of an `Http2Stream` using the `CONNECT`
2997 Indicates that the underlying [`Http2Stream`][] was closed.
3049 Calls `destroy()` on the [`Http2Stream`][] that received
3169 Sets the [`Http2Stream`][]'s timeout value to `msecs`. If a callback is
3174 the server, then [`Http2Stream`][]s are destroyed when they time out. If a
3209 * {Http2Stream}
3211 The [`Http2Stream`][] object backing the request.
3280 Indicates that the underlying [`Http2Stream`][] was terminated before
3327 or either when the attempt to create the pushed `Http2Stream` has failed or
3335 given [`Http2Stream`][] on a newly created `Http2ServerResponse` as the callback
3535 Sets the [`Http2Stream`][]'s timeout value to `msecs`. If a callback is
3540 the server, then [`Http2Stream`][]s are destroyed when they time out. If a
3610 * {Http2Stream}
3612 The [`Http2Stream`][] object backing the response.
3740 metrics for each `Http2Session` and `Http2Stream` instance.
3750 } else if (entry.name === 'Http2Stream') {
3751 // Entry contains statistics about the Http2Stream
3760 `'Http2Stream'` or `'Http2Session'`.
3762 If `name` is equal to `Http2Stream`, the `PerformanceEntry` will contain the
3766 `Http2Stream`.
3768 `Http2Stream`.
3769 * `id` {number} The identifier of the associated `Http2Stream`
3791 all `Http2Stream` instances.
3792 * `streamCount` {number} The number of `Http2Stream` instances processed by
3821 [`Http2Stream`]: #http2_class_http2stream