isSecure method

bool isSecure()

true when the client used https (see scheme)

Implementation

bool isSecure() {
  return _scheme == 'https';
}