UnbluFileDownloadHandler
public protocol UnbluFileDownloadHandler
This protocol is used to notify when a request has been made to download a file.
-
Called when a request is made to download a file, e.g. in a conversation.
Declaration
Swift
func downloadFile(atUrl url: URL, cookies: [HTTPCookie])
Parameters
url
The
URL
of the file to downloadcookies
An array of
HTTPCookie
objects representing the Cookies which are needed for the file download.