MTTransport Scheme
class
MTDatacenterAddress
@property (nonatomic, strong, readonly) NSString *host;
@property (nonatomic, strong, readonly) NSString *ip;
@property (nonatomic, readonly) uint16_t port;
@property (nonatomic, readonly) bool preferForMedia;
@property (nonatomic, readonly) bool restrictToTcp;
@property (nonatomic, readonly) bool cdn;
@property (nonatomic, readonly) bool preferForProxy;
@property (nonatomic, readonly) NSData *secret;
- (BOOL)isEqualToAddress:(MTDatacenterAddress *)other;
- (BOOL)isIpv6;
class
MTTransportScheme
@property (nonatomic, strong, readonly) Class transportClass;
@property (nonatomic, strong, readonly) MTDatacenterAddress *address;
@property (nonatomic, readonly) bool media;
- (BOOL)isEqualToScheme:(MTTransportScheme *)other;
- (BOOL)isOptimal;
- (NSComparisonResult)compareToScheme:(MTTransportScheme *)other;