Udostępnij za pośrednictwem


RequestHandler Class

Definition

Abstraction which allows defining of custom message handlers.

public abstract class RequestHandler
type RequestHandler = class
Public MustInherit Class RequestHandler
Inheritance
RequestHandler

Remarks

Custom implementations are required to be stateless.

Constructors

RequestHandler()

The default constructor for the RequestHandler

Properties

InnerHandler

Defines a next handler to be called in the chain.

Methods

SendAsync(RequestMessage, CancellationToken)

Processes the current RequestMessage in the current handler and sends the current RequestMessage to the next handler in the chain.

Applies to