RequestEncoder typedef

RequestEncoder = FutureOr<List<int>> Function(String request, RequestOptions options)

The type of a request encoding callback.

Implementation

typedef RequestEncoder = FutureOr<List<int>> Function(
  String request,
  RequestOptions options,
);