Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

Complete

func Complete(cancellationToken: CancellationToken = default) -> Task<Result<void, HttpError>>

Declaring type: HttpContext
Module: System.Web.Http
Assembly: System.Web.dll
Source file: HttpServer.rvn

Snapshots response headers and sends buffered bytes or a known-length stream, then closes the exchange. Reports validation/send errors or acknowledged cancellation; all end the exchange.

Parameters

Name Type Description
cancellationToken CancellationToken

Return value

Task<Result<void, HttpError>>