ApplicationsControllerPostDownload - метод

Download stream with binary app data.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("download")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute(ConvertPascalCasing = true)]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/octet-stream", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<Stream>> PostDownload(
	[FromBodyAttribute] ApplicationDownloadRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  ApplicationDownloadRequest
Request to download app.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

TaskActionResultStream
Stream with binary app data.

См. также