Class PlatformInitializeHandler
Answers the rdcore/platform/initialize handshake with this server's component type and the
capabilities its entry assembly declares via [assembly: ProvidesCorePlatformClientCapability<T>],
and records what the caller said it expects of this server.
[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, IPlatformClientCapabilitiesService)
Answers the rdcore/platform/initialize handshake with this server's component type and the
capabilities its entry assembly declares via [assembly: ProvidesCorePlatformClientCapability<T>],
and records what the caller said it expects of this server.
public PlatformInitializeHandler(ILogger<IJsonRpcHandler> logger, PlatformComponentContext context, IPlatformClientCapabilitiesService clientCapabilities)
Parameters
loggerILogger<IJsonRpcHandler>contextPlatformComponentContextclientCapabilitiesIPlatformClientCapabilitiesService
Methods
HandleAsync(PlatformInitializeParams, CancellationToken)
protected override Task<PlatformInitializeResult> HandleAsync(PlatformInitializeParams request, CancellationToken token)
Parameters
requestPlatformInitializeParamstokenCancellationToken