IHttpWebTransportFeature.AcceptAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Accept the session request and allow streams to start being used.
public System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Http.Features.IWebTransportSession> AcceptAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member AcceptAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Http.Features.IWebTransportSession>
Public Function AcceptAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of IWebTransportSession)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to cancel waiting for the session.
Returns
An instance of a WebTransportSession which will be used to control the connection.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: