MockClientHandler typedef

MockClientHandler = Future<Response> Function(Request request)

A handler function that receives Requests and sends Responses.

Note that request will be finalized.

Implementation

typedef MockClientHandler = Future<Response> Function(Request request);