protocol library Null safety

Classes

CancelledResponse
DriftProtocol
EnsureOpen
Sent from the client to the server. The server should open the underlying database connection, using the schemaVersion.
ErrorResponse
ExecuteBatchedStatement
Sent from the client to run BatchedStatements
ExecuteQuery
Sent from the client to run a sql query. The server replies with the result.
Message
NotifyTablesUpdated
Sent to notify that a previous query has updated some tables. When a server receives this message, it replies with null but forwards a new request with this payload to all connected clients.
Request
A request sent over a communication channel. It is expected that the other peer eventually answers with a matching response.
RequestCancellation
Requests a previous request to be cancelled.
RunBeforeOpen
Sent from the server to the client when it should run the before open callback.
RunTransactionAction
Sent from the client to commit or rollback a transaction
SelectResult
SuccessResponse

Enums

NoArgsRequest
A request without further parameters
StatementMethod
TransactionControl