|
@@ -469,9 +469,19 @@ extern NSString * _Nullable OCWebDAVModificationDateKey;
|
|
|
#pragma mark - Get Notification
|
|
|
|
|
|
///-----------------------------------
|
|
|
-/// @name Get the server notification
|
|
|
+/// @name Get the server Notification
|
|
|
///-----------------------------------
|
|
|
|
|
|
+/**
|
|
|
+ * Method read the notification of the server
|
|
|
+ *
|
|
|
+ * @param serverPath -> NSString server
|
|
|
+ * @param sharedOCCommunication -> OCCommunication Singleton of communication to add the operation on the queue.
|
|
|
+ *
|
|
|
+ * @return listOfNotifications -> OCNotification
|
|
|
+ *
|
|
|
+ */
|
|
|
+
|
|
|
- (void) getNotificationsOfServer:(NSString * _Nonnull)serverPath onCommunication:(OCCommunication * _Nonnull)sharedOCComunication success:(void(^ _Nonnull)(NSHTTPURLResponse * _Nonnull operation, id _Nonnull response))success
|
|
|
failure:(void(^ _Nonnull)(NSHTTPURLResponse * _Nonnull operation, id _Nullable responseObject, NSError * _Nonnull error))failure;
|
|
|
@end
|