PostgresNIO Documentation

Structure Postgres​Message.​Notification​Response

public struct NotificationResponse: PostgresMessageType  

Identifies the message as a notification response.

%57 PostgresMessage.NotificationResponse PostgresMessage.NotificationResponse PostgresMessageType PostgresMessageType PostgresMessage.NotificationResponse->PostgresMessageType

Member Of

PostgresMessage

A frontend or backend Postgres message.

Conforms To

PostgresMessageType

Properties

identifier

public static let identifier = Identifier.notificationResponse

backend​PID

public var backendPID: Int32

channel

public var channel: String

payload

public var payload: String

Methods

parse(from:​)

public static func parse(from buffer: inout ByteBuffer) throws -> Self  

Parses an instance of this message type from a byte buffer.