Payload
public enum Payload
File Payload.
-
File content represented by
Data
.Declaration
Swift
case data(data: Data)
-
File content represented by
URL
. it is the path to a local file.Declaration
Swift
case fileURL(fileURL: URL)