Option
public enum Option : Hashable
Options available to send to Parse Server.
-
Use the masterKey if it was provided during initial configuraration.
Declaration
Swift
case useMasterKey
-
Use a specific session token.
Note
The session token of the current user is provided by default.Declaration
Swift
case sessionToken(String)
-
Use a specific installationId.
Note
The installationId of the current user is provided by default.Declaration
Swift
case installationId(String)
-
Specify mimeType.
Declaration
Swift
case mimeType(String)
-
Specify fileSize.
Declaration
Swift
case fileSize(String)
-
Remove mimeType.
Note
This is typically used indirectly byParseFile
.Declaration
Swift
case removeMimeType
-
Specify metadata.
Note
This is typically used indirectly byParseFile
.Declaration
Swift
case metadata([String : String])
-
Specify tags.
Note
This is typically used indirectly byParseFile
.Declaration
Swift
case tags([String : String])
-
Add context.
Warning
Requires Parse Server 5.0.0+.Declaration
Swift
case context(Encodable)
-
The caching policy to use for a specific http request. Determines when to return a response from the cache. See Apple’s documentation for more info.
Declaration
Swift
case cachePolicy(URLRequest.CachePolicy)
-
Declaration
Swift
public func hash(into hasher: inout Hasher)