createRequest method

  1. @override
Buffer createRequest()
override

The server initiates the handshake after the client connects, so a request will never be created.

Implementation

@override
Buffer createRequest() {
  throw MySqlClientError('Cannot create a handshake request');
}