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

Request.isHttps

Request.isHttps() -> boolean

Description

Return true if the current request is over HTTPS.

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

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

See Also