Interface IRequestHandler

Describes a request handler service.

Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public interface IRequestHandler
Remarks

Requests are processed in a pipeline which consits of one or more IRequestHandler service.

Properties

Next

The next handler to be called.

Declaration
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
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
In This Article
Back to top Generated by DocFX