Lines Matching refs:Http2Stream
164 `Http2Stream` objects.
233 with a specific `Http2Stream`, an attempt to emit a `'frameError'` event on the
234 `Http2Stream` is made.
314 * `stream` {Http2Stream} A reference to the stream
320 The `'stream'` event is emitted when a new `Http2Stream` is created.
402 complete on their own and preventing new `Http2Stream` instances from being
404 are no open `Http2Stream` instances.
485 * `lastStreamID` {number} The numeric ID of the last processed `Http2Stream`
674 next time a new `Http2Stream` is created by this `Http2Session`.
677 * `lastProcStreamID` {number} The numeric id of the `Http2Stream`
760 identifier of an active `Http2Stream` as given by the `http2stream.id`
781 service is associated with the origin of the given `Http2Stream`.
937 * `endStream` {boolean} `true` if the `Http2Stream` _writable_ side should
949 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
957 creates and returns an `Http2Stream` instance that can be used to send an
990 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
993 `Http2Stream`.
1005 ### Class: `Http2Stream`
1013 Each instance of the `Http2Stream` class represents a bidirectional HTTP/2
1015 may have up to 2<sup>31</sup>-1 `Http2Stream` instances over its lifetime.
1017 User code will not construct `Http2Stream` instances directly. Rather, these
1019 instance. On the server, `Http2Stream` instances are created either in response
1022 On the client, `Http2Stream` instances are created and returned when either the
1026 The `Http2Stream` class is a base for the [`ServerHttp2Stream`][] and
1030 All `Http2Stream` instances are [`Duplex`][] streams. The `Writable` side of the
1034 The default text character encoding for an `Http2Stream` is UTF-8. When using an
1035 `Http2Stream` to send text, use the `'content-type'` header to set the character
1045 #### `Http2Stream` Lifecycle argument
1058 On the client, the `Http2Stream` instance returned by `http2session.request()`
1060 been fully established. In such cases, operations called on the `Http2Stream`
1063 `Http2Stream` can be determined by checking the value of `http2stream.id`. If
1068 All [`Http2Stream`][] instances are destroyed either when:
1076 When an `Http2Stream` instance is destroyed, an attempt will be made to send an
1079 When the `Http2Stream` instance is destroyed, the `'close'` event will
1080 be emitted. Because `Http2Stream` is an instance of `stream.Duplex`, the
1085 After the `Http2Stream` has been destroyed, the `http2stream.destroyed`
1087 `RST_STREAM` error code. The `Http2Stream` instance is no longer usable once
1096 The `'aborted'` event is emitted whenever a `Http2Stream` instance is
1100 The `'aborted'` event will only be emitted if the `Http2Stream` writable side
1109 The `'close'` event is emitted when the `Http2Stream` is destroyed. Once
1110 this event is emitted, the `Http2Stream` instance is no longer usable.
1125 an `Http2Stream`.
1141 error code. The `Http2Stream` instance will be destroyed immediately after the
1150 The `'ready'` event is emitted when the `Http2Stream` has been opened, has
1161 `Http2Stream` within the number of milliseconds set using
1194 The `'wantTrailers'` event is emitted when the `Http2Stream` has queued the
1195 final `DATA` frame to be sent on a frame and the `Http2Stream` is ready to send
1207 Set to `true` if the `Http2Stream` instance was aborted abnormally. When set,
1240 Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the
1251 Set to `true` if the `Http2Stream` instance has been closed.
1261 Set to `true` if the `Http2Stream` instance has been destroyed and is no longer
1274 and the readable side of the `Http2Stream` will be closed.
1284 The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`
1295 Set to `true` if the `Http2Stream` instance has not yet been assigned a
1317 Updates the priority for this `Http2Stream` instance.
1327 Set to the `RST_STREAM` [error code][] reported when the `Http2Stream` is
1330 `undefined` if the `Http2Stream` has not been closed.
1340 An object containing the outbound headers sent for this `Http2Stream`.
1351 sent for this `Http2Stream`.
1371 A reference to the `Http2Session` instance that owns this `Http2Stream`. The
1372 value will be `undefined` after the `Http2Stream` instance is destroyed.
1406 `Http2Stream`.
1410 for this `Http2Stream` without receiving a `WINDOW_UPDATE`.
1412 `Http2Stream` as determined by `nghttp2`.
1413 * `localClose` {number} `1` if this `Http2Stream` has been closed locally.
1414 * `remoteClose` {number} `1` if this `Http2Stream` has been closed
1416 * `sumDependencyWeight` {number} The sum weight of all `Http2Stream`
1417 instances that depend on this `Http2Stream` as specified using
1419 * `weight` {number} The priority weight of this `Http2Stream`.
1421 A current state of this `Http2Stream`.
1432 will cause the `Http2Stream` to be immediately closed and must only be
1435 in order to keep the `Http2Stream` open after the final `DATA` frame so that
1459 * Extends {Http2Stream}
1461 The `ClientHttp2Stream` class is an extension of `Http2Stream` that is
1462 used exclusively on HTTP/2 Clients. `Http2Stream` instances on the client
1544 * Extends: {Http2Stream}
1546 The `ServerHttp2Stream` class is an extension of [`Http2Stream`][] that is
1547 used exclusively on HTTP/2 Servers. `Http2Stream` instances on the server
1582 `Http2Stream` in the same `Http2Session`.
1611 Initiates a push stream. The callback is invoked with the new `Http2Stream`
1652 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
1669 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
1672 `Http2Stream`.
1709 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
1716 attempting to read data using the file descriptor, the `Http2Stream` will be
1719 When used, the `Http2Stream` object's `Duplex` interface will be closed
1762 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
1765 `Http2Stream`.
1812 * `waitForTrailers` {boolean} When `true`, the `Http2Stream` will emit the
1818 or an `'error'` event will be emitted on the `Http2Stream` object.
1820 When used, the `Http2Stream` object's `Duplex` interface will be closed
1827 If an error occurs while attempting to read the file data, the `Http2Stream`
1899 When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
1902 `Http2Stream`.
2008 * `stream` {Http2Stream} A reference to the stream
2228 * `stream` {Http2Stream} A reference to the stream
2427 This is a credit based limit, existing `Http2Stream`s may cause this
2428 limit to be exceeded, but new `Http2Stream` instances will be rejected
2429 while this limit is exceeded. The current number of `Http2Stream` sessions,
2584 credit based limit, existing `Http2Stream`s may cause this
2585 limit to be exceeded, but new `Http2Stream` instances will be rejected
2586 while this limit is exceeded. The current number of `Http2Stream` sessions,
2712 This is a credit based limit, existing `Http2Stream`s may cause this
2713 limit to be exceeded, but new `Http2Stream` instances will be rejected
2714 while this limit is exceeded. The current number of `Http2Stream` sessions,
3002 the `Http2Stream`, `Http2Session` or HTTP/2 Server objects, depending on where
3010 event on the `Http2Stream`, `Http2Session` or HTTP/2 Server objects, depending
3134 may be used to bootstrap the use of an `Http2Stream` using the `CONNECT`
3260 Indicates that the underlying [`Http2Stream`][] was closed.
3319 Calls `destroy()` on the [`Http2Stream`][] that received
3446 Sets the [`Http2Stream`][]'s timeout value to `msecs`. If a callback is
3451 the server, then [`Http2Stream`][]s are destroyed when they time out. If a
3488 * {Http2Stream}
3490 The [`Http2Stream`][] object backing the request.
3564 Indicates that the underlying [`Http2Stream`][] was terminated before
3621 or either when the attempt to create the pushed `Http2Stream` has failed or
3629 given [`Http2Stream`][] on a newly created `Http2ServerResponse` as the callback
3850 Sets the [`Http2Stream`][]'s timeout value to `msecs`. If a callback is
3855 the server, then [`Http2Stream`][]s are destroyed when they time out. If a
3929 * {Http2Stream}
3931 The [`Http2Stream`][] object backing the response.
4093 metrics for each `Http2Session` and `Http2Stream` instance.
4103 } else if (entry.name === 'Http2Stream') {
4104 // Entry contains statistics about the Http2Stream
4113 `'Http2Stream'` or `'Http2Session'`.
4115 If `name` is equal to `Http2Stream`, the `PerformanceEntry` will contain the
4119 `Http2Stream`.
4121 `Http2Stream`.
4122 * `id` {number} The identifier of the associated `Http2Stream`
4144 all `Http2Stream` instances.
4145 * `streamCount` {number} The number of `Http2Stream` instances processed by
4186 [`Http2Stream`]: #class-http2stream