Last active
March 21, 2017 21:04
-
-
Save emenegro/f1cff220030934243bd206bc408840d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol OfflineController { | |
func cache(request: OfflineRequestConvertible, forId id: String?, encryptionKey: String?, data: Data, keepAliveUntil keepAlive: Date?, completion: @escaping OfflineControllerCompletionHandler) | |
func get(request: OfflineRequestConvertible, forId id: String?, encryptionKey: String?, ifBefore before: Date?, completion: @escaping OfflineControllerCompletionHandler) | |
func delete(request: OfflineRequestConvertible, forId id: String?, encryptionKey: String?, completion: @escaping OfflineControllerCompletionHandler) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment