ApplicationsBinaryControllerPostDownload - метод
Download stream with binary app data.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("Download")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
public Task<Stream> PostDownload(
[FromBodyAttribute] ApplicationDownloadRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("Download")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
Public Function PostDownload (
<FromBodyAttribute> request As ApplicationDownloadRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Stream)
public:
[HttpPostAttribute(L"Download")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
Task<Stream^>^ PostDownload(
[FromBodyAttribute] ApplicationDownloadRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("Download")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
member PostDownload :
[<FromBodyAttribute>] request : ApplicationDownloadRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Stream>
- request ApplicationDownloadRequest
- Request to download app.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskStreamStream with binary app data.