Class SchemaProviderHandler
Adds schema support to the request pipeline.
Implements
Inherited Members
Namespace: Solti.Utils.Rpc.Pipeline
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
public class SchemaProviderHandler : RequestHandlerBase<ISchemaProviderHandlerConfig>, IRequestHandler
Constructors
SchemaProviderHandler(IRequestHandler, ISchemaProviderHandlerConfig)
Creates a new SchemaProviderHandler instance.
Declaration
public SchemaProviderHandler(IRequestHandler next, ISchemaProviderHandlerConfig config)
Parameters
| Type | Name | Description |
|---|---|---|
| IRequestHandler | next | |
| ISchemaProviderHandlerConfig | config |
Remarks
This handler requires a next value to be provided.
Methods
HandleAsync(IInjector, IHttpSession, CancellationToken)
Does some handler specific work.
Declaration
public override async Task HandleAsync(IInjector scope, IHttpSession context, CancellationToken cancellation)
Parameters
| Type | Name | Description |
|---|---|---|
| Solti.Utils.DI.Interfaces.IInjector | scope | |
| IHttpSession | context | |
| CancellationToken | cancellation |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
Solti.Utils.Rpc.Pipeline.RequestHandlerBase<Solti.Utils.Rpc.Pipeline.ISchemaProviderHandlerConfig>.HandleAsync(Solti.Utils.DI.Interfaces.IInjector, Solti.Utils.Rpc.Interfaces.IHttpSession, System.Threading.CancellationToken)