Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​Features.​IHttpResetFeature

Assembly: Microsoft.AspNetCore.Http.Features

Used to send reset messages for protocols that support them such as HTTP/2 or HTTP/3.

Methods

void
Reset​(int errorCode)
Send a reset message with the given error code. The request will be considered aborted.
errorCode The error code to send in the reset message.