| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9a65b7f commit a22a840
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1278,8 +1278,8 @@ added: v23.8.0 | |||
| 1278 | 1278 | * `body` {string | ArrayBuffer | SharedArrayBuffer | ArrayBufferView | | |
| 1279 | 1279 | Blob | FileHandle | AsyncIterable | Iterable | Promise | null} | |
| 1280 | 1280 | The outbound body source. See [`stream.setBody()`][] for details on | |
| 1281 | - supported types. When omitted, the stream starts half-closed (writable | ||
| 1282 | - side open, no body queued). | ||
| 1281 | + supported types. When omitted, the stream's outgoing side remains | ||
| 1282 | + writable with no body queued; no FIN is sent immediately. | ||
| 1283 | 1283 | * `headers` {Object} Initial request or response headers to send. Only | |
| 1284 | 1284 | used when the session supports headers (e.g. HTTP/3). If `body` is not | |
| 1285 | 1285 | specified and `headers` is provided, the stream is treated as | |
@@ -1306,7 +1306,8 @@ added: v23.8.0 | |||
| 1306 | 1306 | * Returns: {Promise} for a {quic.QuicStream} | |
| 1307 | 1307 | ||
| 1308 | 1308 | Open a new bidirectional stream. If the `body` option is not specified, | |
| 1309 | - the outgoing stream will be half-closed. The `priority` and `incremental` | ||
| 1309 | + the stream's outgoing side remains writable and no FIN is sent | ||
| 1310 | + immediately. The `priority` and `incremental` | ||
| 1310 | 1311 | options are only used when the session supports priority (e.g. HTTP/3). | |
| 1311 | 1312 | The `headers`, `onheaders`, `ontrailers`, `oninfo`, and `onwanttrailers` | |
| 1312 | 1313 | options are only used when the session supports headers (e.g. HTTP/3). | |
@@ -1321,7 +1322,8 @@ added: v23.8.0 | |||
| 1321 | 1322 | * `body` {string | ArrayBuffer | SharedArrayBuffer | ArrayBufferView | | |
| 1322 | 1323 | Blob | FileHandle | AsyncIterable | Iterable | Promise | null} | |
| 1323 | 1324 | The outbound body source. See [`stream.setBody()`][] for details on | |
| 1324 | - supported types. When omitted, the stream is closed immediately. | ||
| 1325 | + supported types. When omitted, the stream's outgoing side remains | ||
| 1326 | + writable with no body queued; no FIN is sent immediately. | ||
| 1325 | 1327 | * `headers` {Object} Initial request headers to send. | |
| 1326 | 1328 | * `priority` {string} The priority level of the stream. One of `'high'`, | |
| 1327 | 1329 | `'default'`, or `'low'`. **Default:** `'default'`. | |
@@ -1343,7 +1345,8 @@ added: v23.8.0 | |||
| 1343 | 1345 | * Returns: {Promise} for a {quic.QuicStream} | |
| 1344 | 1346 | ||
| 1345 | 1347 | Open a new unidirectional stream. If the `body` option is not specified, | |
| 1346 | - the outgoing stream will be closed. The `priority` and `incremental` | ||
| 1348 | + the stream's outgoing side remains writable and no FIN is sent | ||
| 1349 | + immediately. The `priority` and `incremental` | ||
| 1347 | 1350 | options are only used when the session supports priority (e.g. HTTP/3). | |
| 1348 | 1351 | ||
| 1349 | 1352 | ### `session.path` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments