ClientControllerPostMetadata - метод
Get server metadata and user settings to initialize web client as JSON (no types).
Some subobjects are serialized as typed JSON.
Пространство имён: Tessa.Web.Client.ControllersСборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
[HttpPostAttribute("meta")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<IActionResult> PostMetadata(
[FromBodyAttribute] InitializationRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("meta")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostMetadata (
<FromBodyAttribute> request As InitializationRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IActionResult)
public:
[HttpPostAttribute(L"meta")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<IActionResult^>^ PostMetadata(
[FromBodyAttribute] InitializationRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("meta")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostMetadata :
[<FromBodyAttribute>] request : InitializationRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IActionResult>
- request InitializationRequest
-
Request to get initialization data.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskIActionResultServer metadata and user settings to initialize web client.