Method
HttpServerEngine.GetContextAsync
GetContextAsync(CancellationToken) #
Asynchronously obtains an HttpServerEngineContext.
public abstract Task<HttpServerEngineContext> GetContextAsync(CancellationToken cancellationToken = default)Parameters #
cancellationToken CancellationToken
The CancellationToken used to cancel the operation. The default value is default.
Returns #
A Task that represents the asynchronous operation, containing the HttpServerEngineContext.