Esc

Ws_Handler

typeextensionsince 0.36.1Source
  • macOS: Ws_Handler works on macOS
  • Linux: Ws_Handler works on Linux
  • Windows: Ws_Handler works on Windows
  • Wasm: Ws_Handler works on Wasm
Ws_Handler :: #type (connection: *Ws_Connection, data: *void)

Runs a server connection after a successful ws_upgrade. The connection is borrowed until it returns; data is what you passed to ws_upgrade.

See also