Class
PostgresMessageDecoder
final class PostgresMessageDecoder
Topics
Initializers
init(logger:)Creates a newPostgresMessageDecoder.
Instance Properties
cumulationBufferSeeByteToMessageDecoder.hasSeenFirstMessageIftrue, the server has asked for authentication.
Instance Methods
decode(context:buffer:)SeeByteToMessageDecoder.decodeLast(context:buffer:seenEOF:)Decode from aByteBufferwhen no more data is incoming and theByteToMessageDecoderis about to leave the pipeline.
Type Aliases
PostgresMessageDecoder.InboundOutSeeByteToMessageDecoder.
Relationships
Conforms To
NIOCore.ByteToMessageDecoder
See Also
Deprecated APIs
PostgresDatabasePostgresDataPostgresDataConvertiblePostgresQueryResultPostgresJSONCodablePostgresJSONBCodablePostgresMessageEncoderPostgresRequestProtocol to encapsulate a function call on the Postgres serverPostgresMessageA frontend or backend Postgres message.PostgresMessageTypePostgresFormatCodePostgresListenContextContext for receiving NotificationResponse messages on a connection, used for PostgreSQL’sLISTEN/NOTIFYsupport.PreparedQuerySASLAuthenticationManagerSASLAuthenticationMechanismThe protocol to which all SASL mechanism implementations must conform. It is the responsibility of each individual implementation to provide an API for creating instances of itself which are able to retrieve information from the caller (such as usernames and passwords) by some mechanism.