doc: add TLS session resumption example
authorRoman Reiss <me@silverwind.io>
Tue, 6 Oct 2015 18:50:45 +0000 (20:50 +0200)
committerJames M Snell <jasnell@gmail.com>
Thu, 8 Oct 2015 03:39:18 +0000 (20:39 -0700)
commit28aac7f19de0dc0b9c9fe19b2f59b6cc9aaba642
tree9e9a13760f19d399fbcf663d33a3a0da2c326bba
parentb3c5ad10a8524cd867192b961523c64e9c57c9a1
doc: add TLS session resumption example

Using TLS session resumption correctly is not obvious. This added
example code should help new users understand how to use it correctly.

Related issue: https://github.com/nodejs/node/issues/3132
PR-URL: https://github.com/nodejs/node/pull/3147
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
doc/api/tls.markdown