PostgresNIO Documentation

Structure Postgres​Message.​SSLRequest

@available(*, deprecated, message: "Will be removed from public API")
    public struct SSLRequest: PostgresMessageType  

A message asking the PostgreSQL server if SSL is supported For more info, see https://www.postgresql.org/docs/10/static/protocol-flow.html#id-1.10.5.7.11

%53 PostgresMessage.SSLRequest PostgresMessage.SSLRequest PostgresMessageType PostgresMessageType PostgresMessage.SSLRequest->PostgresMessageType

Member Of

PostgresMessage

A frontend or backend Postgres message.

Conforms To

PostgresMessageType

Initializers

init()

public init()  

Creates a new SSLRequest.

Properties

code

public let code: Int32

The SSL request code. The value is chosen to contain 1234 in the most significant 16 bits, and 5679 in the least significant 16 bits.

description

public var description: String  

See CustomStringConvertible.

Methods

serialize(into:​)

public func serialize(into buffer: inout ByteBuffer)  

Serializes this message into a byte buffer.