Search Results for

    Show / Hide Table of Contents

    Interface IPostProcessor

    defines the interface for a post-processor that can perform asynchronous post-processing tasks after a request has been handled.

    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public interface IPostProcessor : IProcessor

    Methods

    PostProcessAsync(IPostProcessorContext, CancellationToken)

    asynchronously performs post-processing on the provided context.

    Declaration
    Task PostProcessAsync(IPostProcessorContext context, CancellationToken ct)
    Parameters
    Type Name Description
    IPostProcessorContext context

    the post-processor context containing request, response, and other processing details.

    CancellationToken ct

    the CancellationToken to observe while waiting for the task to complete.

    Returns
    Type Description
    Task

    a Task that represents the asynchronous post-process operation.

    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX