Table of Contents

Interface IOperationMiddleware

Namespace
NexusRpc.Handlers
Assembly
NexusRpc.dll

Middleware for intercepting operations.

public interface IOperationMiddleware

Methods

Intercept(OperationContext, IOperationHandler<object?, object?>)

Intercepts an operation. Called for each call on an operation.

IOperationHandler<object?, object?> Intercept(OperationContext context, IOperationHandler<object?, object?> nextHandler)

Parameters

context OperationContext

Context.

nextHandler IOperationHandler<object, object>

Next handler most middleware should delegate to.

Returns

IOperationHandler<object, object>

An operation handler that will be used to make the call.