Class
PostgresMessageEncoder
final class PostgresMessageEncoder
Topics
Initializers
init(logger: Logger?)Creates a newPostgresMessageEncoder.
Instance Methods
func encode(data: PostgresMessage, out: inout ByteBuffer) throwsSeeMessageToByteEncoder.
Type Aliases
typealias OutboundInSeeMessageToByteEncoder.
Relationships
Conforms To
NIOCore.MessageToByteEncoder
See Also
Deprecated APIs
protocol PostgresDatabasestruct PostgresDataprotocol PostgresDataConvertiblestruct PostgresQueryResultprotocol PostgresJSONCodableprotocol PostgresJSONBCodableclass PostgresMessageDecoderprotocol PostgresRequestProtocol to encapsulate a function call on the Postgres serverstruct PostgresMessageA frontend or backend Postgres message.protocol PostgresMessageTypetypealias PostgresFormatCodeclass PostgresListenContextContext for receiving NotificationResponse messages on a connection, used for PostgreSQL’sLISTEN/NOTIFYsupport.struct PreparedQueryclass SASLAuthenticationManagerprotocol SASLAuthenticationMechanismThe 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.