We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tls.Server
'connection'
1 parent 1c404bd commit 4883904Copy full SHA for 4883904
doc/api/tls.md
@@ -480,8 +480,9 @@ added: v0.3.2
480
* `socket` {stream.Duplex}
481
482
This event is emitted when a new TCP stream is established, before the TLS
483
-handshake begins. `socket` is typically an object of type [`net.Socket`][].
484
-Usually users will not want to access this event.
+handshake begins. `socket` is typically an object of type [`net.Socket`][] but
+will not receive events unlike the socket created from the [`net.Server`][]
485
+`'connection'` event. Usually users will not want to access this event.
486
487
This event can also be explicitly emitted by users to inject connections
488
into the TLS server. In that case, any [`Duplex`][] stream can be passed.
0 commit comments