ClientControllerPostMetadata - метод

Get server metadata and user settings to initialize web client as JSON (no types). Some subobjects are serialized as typed JSON.

Definition

Пространство имён: Tessa.Web.Client.Controllers
Сборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpPostAttribute("meta")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[BrotliCompressionLevelAttribute(CompressionLevel.Optimal)]
public Task<IActionResult> PostMetadata(
	[FromBodyAttribute] InitializationRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  InitializationRequest
Request to get initialization data.
cancellationToken  CancellationToken  (Optional)
Token to cancel an async task.

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

TaskIActionResult
Server metadata and user settings to initialize the web client.

См. также