CheckDriver typedef
Looks at the driver on the other end of a connected socket, such as which release the kernel says it is, before any call is written to it. Returns why to refuse it, or null to go on.
Implementation
typedef CheckDriver = Future<String?> Function(Socket driver);