Files
expressjs.com/en/api/req-secure.jade
TJ Holowaychuk 9e957d4e2c Initial commit
2012-07-31 20:33:12 -07:00

9 lines
166 B
Plaintext

section
h3(id='req.secure') req.secure
p.
Check if a TLS connection is established. This is a short-hand for:
+js.
return 'https' == this.protocol;