ProtoConnectionPost typedef

ProtoConnectionPost = Future<Uint8List> Function({required Uint8List dataBytes, required String endpoint, required Map<String, String> headers})

Callback to make post requrest in proto connection. Must return bytes.

Implementation

typedef ProtoConnectionPost = Future<Uint8List> Function({
  required String endpoint,
  required Map<String, String> headers,
  required Uint8List dataBytes,
});