upgrade abstract method

FutureOr<Headers?> upgrade(
  1. Event event
)

Hooks for upgrading websocket

Implementation

FutureOr<Headers?> upgrade(Event event);