CardsControllerPostGetFileContentStream - метод

Get contents for a file with specified attributes as Stream containing response CardGetFileContentResponse and binary file contents.

Method is used in desktop client apps. Use .NET client API to read the stream.

Definition

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

Параметры

request  CardGetFileContentRequest
Request to get file contents.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskStream
Stream containing response CardGetFileContentResponse and binary file contents.

См. также