HAMUR_W2051: A websocket option is not an object literal the build can read
A websocket option is not an object literal the build can read. Warning HAMUR_W2051 belongs to hamur, server (2001 – 2999).
Message
HAMUR_W2051 websocket of <path> (<label>) is not an object literal the build can read; connectWebSocket treats it as raw frames: write schema in the literal
Cause
The websocket option of a handler is not an object literal the build can read, so connectWebSocket treats the handler as raw frames.
Fix
Write websocket as an object literal with schema.