upgrade method

bool upgrade(
  1. Request request, [
  2. UpgradeOptions? options
])

Upgrade a request to websocket.

Implementation

external bool upgrade(web.Request request, [UpgradeOptions? options]);