Class DefaultHandler
Closes the current session by calling the Close() method.
Implements
Inherited Members
Namespace: Solti.Utils.Rpc
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
public sealed class DefaultHandler : IRequestHandler
Remarks
This handler has no configurator.
Properties
Next
The next handler to be called.
Declaration
public IRequestHandler Next { get; }
Property Value
Type | Description |
---|---|
IRequestHandler |
Remarks
A handler should not invoke the Next instance after closing the session.
Methods
HandleAsync(IInjector, IHttpSession, CancellationToken)
Does some handler specific work.
Declaration
public 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 |