mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
quic: add QuicEndpoint.listening & QuicStream.destroy() and tests
Starting to explore and cover the existing implementation, this covers the basic endpoint & stream lifecycle and the exposed properties. Added endpoint.listening to match net.Server and round out endpoint properties, and stream.destroy() which is already called by quicSession.destroy() and documented, but didn't actually exist. Signed-off-by: Tim Perry <pimterry@gmail.com> PR-URL: https://github.com/nodejs/node/pull/62648 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
00705a459a
commit
f697c55e38
3 files changed
+131
-2
No files matched your search
@@ -204,6 +204,12 @@ added: v23.8.0
|
||||
|
||||
True if `endpoint.destroy()` has been called. Read only.
|
||||
|
||||
### `endpoint.listening`
|
||||
|
||||
* Type: {boolean}
|
||||
|
||||
True if the endpoint is actively listening for incoming connections. Read only.
|
||||
|
||||
### `endpoint.setSNIContexts(entries[, options])`
|
||||
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user