req.secure

Indicates whether or not the request was sent over a secure TLS connection (i.e. https:// or wss://).

Usage

  1. req.secure;