isSecure property

  1. @override
bool get isSecure
override

Whether the request came over TLS (https or wss).

Implementation

@override
bool get isSecure => uri.scheme == 'https' || uri.scheme == 'wss';