Categories
The following categories are available globally.
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTFallback ()
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTHttp (Private)
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTLog ()
-
Undocumented
See moreDeclaration
Objective-C
@interface NSArray (ARTFunctional) - (NSArray *)artMap:(id(^)(id))f; - (NSArray *)artFilter:(BOOL(^)(id))f; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSDate (ARTUtil) + (instancetype)artDateFromNumberMs:(NSNumber *)number; + (instancetype)artDateFromIntegerMs:(long long)ms; - (NSNumber *)artToNumberMs; - (NSInteger)artToIntegerMs; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSDictionary (ARTDictionaryUtil) - (NSString *)artString:(id)key; - (NSNumber *)artNumber:(id)key; - (NSDate *)artTimestamp:(id)key; - (NSArray *)artArray:(id)key; - (NSDictionary *)artDictionary:(id)key; - (NSInteger)artInteger:(id)key; - (BOOL)artBoolean:(id)key; - (id)artTyped:(Class)cls key:(id)key; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSError (ARTUtils) @property (nullable, readonly) NSString *requestId; + (NSError *)copyFromError:(NSError *)error withRequestId:(nullable NSString *)requestId; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSHTTPURLResponse (ARTPaginated) - (nullable NSDictionary *)extractLinks; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSMutableDictionary (ARTDictionaryUtil) /** Creates NSURLQueryItem for given value, and key. */ - (void)addValueAsURLQueryItem:(NSString *)value forKey:(NSString *)key; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSMutableURLRequest (ARTPush) - (void)setDeviceAuthentication:(ARTDeviceId *)deviceId localDevice:(ARTLocalDevice *)localDevice; - (void)setDeviceAuthentication:(ARTDeviceId *)deviceId localDevice:(ARTLocalDevice *)localDevice logger:(nullable ARTInternalLog *)logger; - (void)setDeviceAuthentication:(ARTLocalDevice *)localDevice; - (void)setDeviceAuthentication:(ARTLocalDevice *)localDevice logger:(nullable ARTInternalLog *)logger; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSMutableURLRequest (ARTRest) - (void)setAcceptHeader:(id<ARTEncoder>)defaultEncoder encoders:(NSDictionary<NSString *, id<ARTEncoder>> *)encoders; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSMutableURLRequest (ARTPaginated) + (nullable NSMutableURLRequest *)requestWithPath:(NSString *)path relativeTo:(NSURLRequest *)request; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSMutableURLRequest (ARTUtils) /** Note: this method is using URLComponents to deconstruct URL of this request then it replacing `host` with new one. If for some reasons new URL constructed by URLComponents is `nil`, old URL is a valiid URL for this request. */ - (void)replaceHostWith:(NSString *)host; - (void)appendQueryItem:(NSURLQueryItem *)item; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSString (ARTUtil) + (NSString *)nilToEmpty:(NSString*)aString; - (BOOL)isEmptyString; - (BOOL)isNotEmptyString; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSURL (ARTUtils) + (nullable NSURL *)copyFromURL:(NSURL *)url withHost:(NSString *)host; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTPresence ()
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTProtocolMessage ()
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTRealtimeChannels ()
-
Undocumented
See moreDeclaration
Objective-C
@interface NSData (APNS) - (NSString *)deviceTokenString; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTRestChannels ()
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTStringifiable ()
-
Undocumented
See moreDeclaration
Objective-C
@interface NSObject (ARTArchive) - (nullable NSData *)art_archiveWithLogger:(nullable ARTInternalLog *)logger; + (nullable id)art_unarchiveFromData:(NSData *)data withLogger:(nullable ARTInternalLog *)logger; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface ARTEvent (TransportState)
-
Undocumented
See moreDeclaration
Objective-C
@interface NSURLQueryItem (ARTNSURLQueryItem_Stringifiable) + (NSURLQueryItem*)itemWithName:(NSString *)name value:(ARTStringifiable *)value; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSRunLoop (ARTSRWebSocket) /** Default run loop that will be used to schedule all instances of `ARTSRWebSocket`. @return An instance of `NSRunLoop`. */ + (NSRunLoop *)ARTSR_networkRunLoop; + (void)ARTSR_waitForNetworkRunLoop; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSURLRequest (ARTSRWebSocket) /** An array of pinned `SecCertificateRef` SSL certificates that `ARTSRWebSocket` will use for validation. */ @property (nullable, nonatomic, copy, readonly) NSArray *ARTSR_SSLPinnedCertificates DEPRECATED_MSG_ATTRIBUTE("Using pinned certificates is neither secure nor supported in SocketRocket, " "and leads to security issues. Please use a proper, trust chain validated certificate."); @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSMutableURLRequest (ARTSRWebSocket) /** An array of pinned `SecCertificateRef` SSL certificates that `ARTSRWebSocket` will use for validation. */ @property (nullable, nonatomic, copy) NSArray *ARTSR_SSLPinnedCertificates DEPRECATED_MSG_ATTRIBUTE("Using pinned certificates is neither secure nor supported in SocketRocket, " "and leads to security issues. Please use a proper, trust chain validated certificate."); @end