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>].
[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
loggerILogger<IJsonRpcHandler>contextPlatformComponentContext
Methods
HandleAsync(PlatformInitializeParams, CancellationToken)
protected override Task<PlatformInitializeResult> HandleAsync(PlatformInitializeParams request, CancellationToken token)
Parameters
requestPlatformInitializeParamstokenCancellationToken