DITConnect
@interface DITConnect : NSObject <NSCopying, NSMutableCopying>
Specific servers that Ditto should attempt to connect to.
TCP servers are specified as “host:port”. Websocket URLs take the form “wss://hydra.ditto.live”.
Please refer to the documentation on Ditto’s website for configuring cloud or client/server scenarios.
-
Undocumented
Declaration
Objective-C
+ (instancetype)connect;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) NSSet<NSString *> *tcpServers
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) NSSet<NSString *> *websocketURLs
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithDITConnect:(DITConnect *)connect;
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithTcpServers:(NSSet<NSString *> *)tcpServers websocketURLs:(NSSet<NSString *> *)websocketUrls;
-
Undocumented
Declaration
Objective-C
- (DITConnect *)copy;
-
Undocumented
Declaration
Objective-C
- (DITMutableConnect *)mutableCopy;