---
sidebar_label: SecurityDetails.protocol
---

# SecurityDetails.protocol() method

The security protocol being used, e.g. "TLS 1.2".

### Signature

```typescript
class SecurityDetails {
  protocol(): string;
}
```

**Returns:**

string
