PostgresNIO Documentation

Structure Postgres​Message.​SASLInitial​Response

public struct SASLInitialResponse: PostgresMessageType  

SASL initial challenge response message sent by the client.

%341 PostgresMessage.SASLInitialResponse PostgresMessage.SASLInitialResponse PostgresMessageType PostgresMessageType PostgresMessage.SASLInitialResponse->PostgresMessageType

Member Of

PostgresMessage

A frontend or backend Postgres message.

Conforms To

PostgresMessageType

Properties

identifier

public static var identifier: PostgresMessage.Identifier  

mechanism

public let mechanism: String

initial​Data

public let initialData: [UInt8] 

description

public var description: String  

Methods

parse(from:​)

public static func parse(from buffer: inout ByteBuffer) throws -> PostgresMessage.SASLInitialResponse  

serialize(into:​)

public func serialize(into buffer: inout ByteBuffer) throws