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.0.4
C#
[HttpPostAttribute("meta")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<IActionResult> PostMetadata(
	[FromBodyAttribute] InitializationRequest request,
	CancellationToken cancellationToken = default
)

Параметры

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

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

TaskIActionResult
Server metadata and user settings to initialize web client.

См. также