VKNotificationsManager

public class VKNotificationsManager : NSObject
extension VKNotificationsManager: WebSocketDelegate
  • Singleton instance for VKNotificationsManager

    Declaration

    Swift

    public static let sharedInstance: VKNotificationsManager
  • URL Request for socket connection (getter)

    Declaration

    Swift

    public var request: URLRequest? { get }
  • Connection status (getter)

    Declaration

    Swift

    public var isConnected: Bool { get }
  • Declaration

    Swift

    public func webSocketOpen()
  • Declaration

    Swift

    public func webSocketClose(_ code: Int, reason: String, wasClean: Bool)
  • Declaration

    Swift

    public func webSocketError(_ error: NSError)
  • Declaration

    Swift

    public func webSocketMessageData(_ data: Data)
  • Declaration

    Swift

    public func webSocketMessageText(_ text: String)