Skip to content

SolanaSocketEventsDelegate

bigearsenal edited this page May 17, 2022 · 1 revision

SolanaSocketEventsDelegate

Delegate for listening socket's events

public protocol SolanaSocketEventsDelegate: AnyObject 

Inheritance

AnyObject

Requirements

connected()

func connected()

nativeAccountNotification(notification:​)

func nativeAccountNotification(notification: SocketNativeAccountNotification)

tokenAccountNotification(notification:​)

func tokenAccountNotification(notification: SocketTokenAccountNotification)

programNotification(notification:​)

func programNotification(notification: SocketProgramAccountNotification)

signatureNotification(notification:​)

func signatureNotification(notification: SocketSignatureNotification)

logsNotification(notification:​)

func logsNotification(notification: SocketLogsNotification)

unsubscribed(id:​)

func unsubscribed(id: String)

subscribed(socketId:​id:​)

func subscribed(socketId: UInt64, id: String)

disconnected(reason:​code:​)

func disconnected(reason: String, code: Int)

error(error:​)

func error(error: Error?)
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally