newSession event (tls.Server)

Event: 'newSession'

function (sessionId, sessionData, callback) { }

Emitted on creation of a TLS session. May be used to store sessions in external storage. callback must be invoked eventually, otherwise no data will be sent or received from the secure connection.

NOTE: adding this event listener will only have an effect on connections established after the addition of the event listener.

doc_Nodejs
2016-04-30 04:40:38
Comments
Leave a Comment

Please login to continue.