sendMaxData method
Implementation
void sendMaxData(int maxBytes) {
final frame = Uint8List.fromList([
...writeVarInt(0x10), // MAX_DATA
...writeVarInt(maxBytes),
]);
_sendApplicationControlFrame(frame, 'MAX_DATA=$maxBytes');
}
void sendMaxData(int maxBytes) {
final frame = Uint8List.fromList([
...writeVarInt(0x10), // MAX_DATA
...writeVarInt(maxBytes),
]);
_sendApplicationControlFrame(frame, 'MAX_DATA=$maxBytes');
}