IWebTransportSession.OpenUnidirectionalStreamAsync(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.
Opens a new unidirectional output stream.
public System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext?> OpenUnidirectionalStreamAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member OpenUnidirectionalStreamAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext>
Public Function OpenUnidirectionalStreamAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of ConnectionContext)
Parameters
- cancellationToken
- CancellationToken
The cancellation token used to cancel the operation.
Returns
The unidirectional stream that was opened.