DownloadFileToMemory
Downloads url without touching the filesystem, keeping the content in memory. method, headers and body shape the request. Does not consume incomingData. Dispatches onStart before the download begins; onDownloadProgress repeatedly while downloading (carrying the progress); onDownloadFinish then onSuccess (both carrying the total byte count) when the download completed; onDownloadFailure then onFailure (both carrying the Throwable, logged) when it failed.
Parameters
Unique identifier of this event. Defaults to a random id.
Trigger that fires this event, built via EventTriggers.
Child events chained after this one, wired to its triggers (onStart, onDownloadProgress, onDownloadFinish, onDownloadFailure, onSuccess, onFailure).
URL to download.
HTTP method used for the request.
Request body. Defaults to none.
Request headers. Defaults to none.