diff --git a/doc/api/quic.md b/doc/api/quic.md index a847ac621aa268..c33ea1c4829399 100644 --- a/doc/api/quic.md +++ b/doc/api/quic.md @@ -1371,6 +1371,17 @@ Emitted before the `'close'` event if the `QuicSocket` was destroyed with an The `'error'` event will not be emitted multiple times. +#### Event: `'listening'` + + +Emitted after `quicsocket.listen()` is called and the `QuicSocket` has started +listening for incoming `QuicServerSession`s. The callback is invoked with +no arguments. + +The `'listening'` event will not be emitted multiple times. + #### Event: `'ready'`