ARTWebSocket
Objective-C
@protocol ARTWebSocket <NSObject>
Swift
protocol ARTWebSocket : NSObjectProtocol
This protocol has the subset of ARTSRWebSocket we actually use.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) id <ARTWebSocketDelegate> _Nullable delegateSwift
weak var delegate: (any ARTWebSocketDelegate)? { get set } -
Undocumented
Declaration
Objective-C
@property (nullable, nonatomic) dispatch_queue_t delegateDispatchQueueSwift
var delegateDispatchQueue: dispatch_queue_t? { get set } -
Undocumented
Declaration
Objective-C
@property (readonly) ARTWebSocketReadyState readyStateSwift
var readyState: ARTWebSocketReadyState { get } -
Undocumented
Declaration
Objective-C
- (void)open;Swift
func open() -
Undocumented
Declaration
Objective-C
- (void)closeWithCode:(NSInteger)code reason:(nullable NSString *)reason;Swift
func close(withCode code: Int, reason: String?) -
Undocumented
Declaration
Objective-C
- (void)send:(nullable id)message;Swift
func send(_ message: Any?)