KestrunResponse.ApplyTo method

Applies the current KestrunResponse to the specified HttpResponse, setting status, headers, cookies, and writing the body.

public Task ApplyTo(HttpResponse response)
parameter description
response The HttpResponse to apply the response to.

Return Value

A task representing the asynchronous operation.

See Also