HubRequestHandler typedef

HubRequestHandler = Future<HubResponse> Function(HubRequest request)

Handles a HubRequest and produces a HubResponse.

The fundamental unit the pipeline, services and the router are built from.

Implementation

typedef HubRequestHandler = Future<HubResponse> Function(HubRequest request);