Table of Contents

Class PlatformInitializeHandler

Namespace
RDCore.SDK.Server.Handlers.Platform
Assembly
RDCore.SDK.dll

Answers the rdcore/platform/initialize handshake with this server's component type and the capabilities its entry assembly declares via [assembly: ProvidesCorePlatformClientCapability<T>].

[Method("rdcore/platform/initialize", Direction.ClientToServer)]
public class PlatformInitializeHandler : RDCoreRequestHandler<PlatformInitializeParams, PlatformInitializeResult>, IJsonRpcRequestHandler<PlatformInitializeParams, PlatformInitializeResult>, IRequestHandler<PlatformInitializeParams, PlatformInitializeResult>, IJsonRpcHandler
Inheritance
PlatformInitializeHandler
Implements
Inherited Members

Constructors

PlatformInitializeHandler(ILogger<IJsonRpcHandler>, PlatformComponentContext)

Answers the rdcore/platform/initialize handshake with this server's component type and the capabilities its entry assembly declares via [assembly: ProvidesCorePlatformClientCapability<T>].

public PlatformInitializeHandler(ILogger<IJsonRpcHandler> logger, PlatformComponentContext context)

Parameters

logger ILogger<IJsonRpcHandler>
context PlatformComponentContext

Methods

HandleAsync(PlatformInitializeParams, CancellationToken)

protected override Task<PlatformInitializeResult> HandleAsync(PlatformInitializeParams request, CancellationToken token)

Parameters

request PlatformInitializeParams
token CancellationToken

Returns

Task<PlatformInitializeResult>