# Sandbox.WebSocket.SubProtocol

```csharp
string SubProtocol { get; set; }
```

Get the sub-protocol that was negotiated during the opening handshake.

Declared in [Sandbox.WebSocket](/api/Sandbox.WebSocket).
Assembly: `Sandbox.Engine`.
