DriftServer constructor
DriftServer(
- DatabaseConnection connection, {
- bool allowRemoteShutdown = false,
Creates a drift server proxying incoming requests to the underlying
connection
.
If allowRemoteShutdown
is set to true
(it defaults to false
),
clients can use shutdown to stop this server remotely.
Implementation
factory DriftServer(DatabaseConnection connection,
{bool allowRemoteShutdown = false}) {
return ServerImplementation(connection, allowRemoteShutdown);
}