fallback abstract method

FutureOr fallback(
  1. Event event
)

When the request does not support upgrading or fails to upgrade, its return value is the same as that of a normal routing handler, which can be Responsible or Response supported data.

Implementation

FutureOr fallback(Event event);