FileVaultControllerPostGetFileContentMultipart - метод
Retrieves file content.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpPostAttribute("get-file-content")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("multipart/form-data", new string[] { ... })]
[ProducesResponseTypeAttribute(200, Type = typeof(MultipartContent))]
public Task<MultipartResult> PostGetFileContentMultipart(
[FromBodyAttribute] FileVaultGetFileContentRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get-file-content")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("multipart/form-data", New String() { ... })>
<ProducesResponseTypeAttribute(200, Type := GetType(MultipartContent))>
Public Function PostGetFileContentMultipart (
<FromBodyAttribute> request As FileVaultGetFileContentRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of MultipartResult)
public:
[HttpPostAttribute(L"get-file-content")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"multipart/form-data", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200, Type = typeof(MultipartContent))]
Task<MultipartResult^>^ PostGetFileContentMultipart(
[FromBodyAttribute] FileVaultGetFileContentRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get-file-content")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("multipart/form-data", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200, Type = typeof(MultipartContent))>]
member PostGetFileContentMultipart :
[<FromBodyAttribute>] request : FileVaultGetFileContentRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<MultipartResult>
- request FileVaultGetFileContentRequest
- Request to get file content.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskMultipartResultResponse, containing file content.