HTTP ServerInterface: UpgradeOptionsOn this pageInterface: UpgradeOptions Options for upgrading an HTTP request to a WebSocket connection. Properties data? optional data: unknown Arbitrary data to associate with the WebSocket connection, accessible as ws.data.