Table of Contents

ProcessAsync Method

Definition

ProcessAsync(HttpContext, Stream)

Called asynchronously before the bodyStream is conditionally written to the response.

public Task ProcessAsync(HttpContext context, Stream bodyStream)

Parameters

context HttpContext

The HttpContext of the current request.

bodyStream Stream

The intercepted Stream of the response body.

Returns

Task

A Task that represents the execution of this validator.