Pprotocol
Bun

property

WebSocket.protocol

readonly protocol: string

The protocol selected by the server