req.is_ssl

BOOL, read-only.

Available inall subroutines.

Indicates whether the request uses SSL or not.