handler property

void Function(Socket socket, Uint8List data)? handler
final

A function handler given a client Socket and data as a Uint8List.

Implementation

final void Function(Socket socket, Uint8List data)? handler;