File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import Dispatch
2626import Foundation
2727
2828/// Defines the interface for a SocketIOClient.
29- public protocol SocketIOClientSpec : class {
29+ public protocol SocketIOClientSpec : AnyObject {
3030 // MARK: Properties
3131
3232 /// A handler that will be called on any event.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import Foundation
4646/// or call one of the `disconnectSocket` methods on this class.
4747///
4848@objc
49- public protocol SocketManagerSpec : class , SocketEngineClient {
49+ public protocol SocketManagerSpec : AnyObject , SocketEngineClient {
5050 // MARK: Properties
5151
5252 /// Returns the socket associated with the default namespace ("/").
Original file line number Diff line number Diff line change 2323import Foundation
2424
2525/// Defines that a type will be able to parse socket.io-protocol messages.
26- public protocol SocketParsable : class {
26+ public protocol SocketParsable : AnyObject {
2727 // MARK: Methods
2828
2929 /// Called when the engine has received some binary data that should be attached to a packet.
@@ -57,7 +57,7 @@ public enum SocketParsableError : Error {
5757}
5858
5959/// Says that a type will be able to buffer binary data before all data for an event has come in.
60- public protocol SocketDataBufferable : class {
60+ public protocol SocketDataBufferable : AnyObject {
6161 // MARK: Properties
6262
6363 /// A list of packets that are waiting for binary data.
Original file line number Diff line number Diff line change 2525import Foundation
2626
2727/// Represents a class will log client events.
28- public protocol SocketLogger : class {
28+ public protocol SocketLogger : AnyObject {
2929 // MARK: Properties
3030
3131 /// Whether to log or not
You can’t perform that action at this time.
0 commit comments