Method Protocols.WebSocket.Frame()->encode() class Protocols.WebSocket.Frame Method encode void encode(Stdio.Buffer buf)