Table of Contents

Method GetContextAsync

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

GetContextAsync(CancellationToken)

Asynchronously obtains an HttpServerEngineContext.

public override 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<TResult> that represents the asynchronous operation, containing the HttpServerEngineContext.