--- sidebar_label: SecurityDetails.protocol --- # SecurityDetails.protocol() method #### Signature: ```typescript class SecurityDetails { protocol(): string; } ``` **Returns:** string The security protocol being used, e.g. "TLS 1.2".