StartupMessage class

Inheritance

Constructors

StartupMessage(String databaseName, TimeZoneSettings timeZone, {String? username, ReplicationMode replication = ReplicationMode.none, required Encoding encoding, Map<String, String> parameters = const {}})
parameters são parâmetros de sessão adicionais enviados na mensagem de startup (por exemplo application_name, search_path ou statement_timeout), evitando comandos SET depois de conectar.

Properties

encoding → Encoding
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyToBuffer(ByteDataWriter buffer) → void
override
asBytes() → Uint8List
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited