Sisk

Method

HttpServerEngine.GetContextAsync

Namespace
Sisk.Core.Http.Engine
Assembly
Sisk.Core.dll

GetContextAsync(CancellationToken) #

Asynchronously obtains an HttpServerEngineContext.

C#
public abstract Task<HttpServerEngineContext> GetContextAsync(CancellationToken cancellationToken = default)

Parameters #

cancellationToken CancellationToken

The CancellationToken used to cancel the operation. The default value is default.

Returns #

Task<HttpServerEngineContext>

A Task that represents the asynchronous operation, containing the HttpServerEngineContext.

Type to search the documentation and the API reference.