Searched refs:pushStream (Results 1 – 19 of 19) sorted by relevance
14 s.pushStream({ ':path': '/file' }, common.mustSucceed((pushStream) => {15 pushStream.respond();16 pushStream.end('a push stream');31 let pushStream; variable35 pushStream = s;40 pushStream.setEncoding('utf8');41 pushStream.on('data', (d) => pushData += d);42 pushStream.on('end', common.mustCall(() => {
68 client.on('stream', common.mustCall((pushStream, headers) => {75 pushStream.on('push', common.mustCall((headers) => {79 pushStream.setEncoding('utf8');80 pushStream.on('data', (chunk) => actual += chunk);81 pushStream.on('end', common.mustCall(() => {
18 () => stream.pushStream({30 () => stream.pushStream({ 'connection': 'test' }, {}, () => {}),
21 stream.pushStream({32 stream.pushStream({
13 stream.pushStream({26 push.pushStream({}, common.mustNotCall());
25 stream.pushStream({
31 () => stream.pushStream({}, common.mustNotCall()),
72 stream.pushStream({}, common.expectsError(currentError.error));
17 stream.pushStream({
29 stream.pushStream({
13 stream.pushStream({ ':path': '/foobar' }, (err, push, headers) => {
113 stream.pushStream({
44 private final ByteArrayOutputStream pushStream; field in GlyfEncoder50 pushStream = new ByteArrayOutputStream(); in GlyfEncoder()299 encodePushSequence(pushStream, result); in splitPush()336 return pushStream.toByteArray(); in getPushBytes()
1021 event), or in response to a call to the `http2stream.pushStream()` method.1053 * The `http2stream.pushStream()` method is called.1548 provide additional methods such as `http2stream.pushStream()` and1584 #### `http2stream.pushStream(headers[, options], callback)`1607 * `pushStream` {ServerHttp2Stream} The returned `pushStream` object.1608 * `headers` {HTTP/2 Headers Object} Headers object the `pushStream` was1620 stream.pushStream({ ':path': '/' }, (err, pushStream, headers) => {1622 pushStream.respond({ ':status': 200 });1623 pushStream.end('some pushed data');1633 Calling `http2stream.pushStream()` from within a pushed stream is not permitted[all …]
819 this[kStream].pushStream(headers, {}, (err, stream, headers, options) => {
2679 pushStream(headers, options, callback) { method in ServerHttp2Stream
476 …/github.com/nodejs/node/commit/2116ace0ad)] - **doc**: fix http2stream.pushStream error doc (Сково…996 * \[[`d9d0d0e98e`](https://github.com/nodejs/node/commit/d9d0d0e98e)] - **doc**: update pushStream …2094 …s://github.com/nodejs/node/commit/a7540d59e8)] - **doc**: remove http2 pushStream weight option (S…
1048 * \[[`1c81a055df`](https://github.com/nodejs/node/commit/1c81a055df)] - **doc**: update pushStream …
3085 …/github.com/nodejs/node/commit/51db88b0f1)] - **doc**: fix http2stream.pushStream error doc (Сково…