Class DefaultHandler

Closes the current session by calling the Close() method.

Inheritance
Object
DefaultHandler
Implements
IRequestHandler
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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

Implements

IRequestHandler
In This Article
Back to top Generated by DocFX