Version: v0.7.0 - Beta.  We welcome contributors & feedback.

Request.isHttps

Request.isHttps() -> boolean

Description

Return true if the current request is over HTTPS.

// e.g. for 'https://mysite.com'
Request.isHttps()
//= true

// e.g. for 'http://othersite.com'
Request.isHttps()
//= false

See Also