Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

Shutdown

func Shutdown(cancellationToken: CancellationToken = default) -> Task<Result<void, StreamError>>

Declaring type: SslStream
Module: System.Networking.Security
Assembly: System.Networking.dll
Source file: SslStream.rvn

Gracefully closes local writes. Idempotent; cancellation after entry aborts the session.

Parameters

Name Type Description
cancellationToken CancellationToken

Return value

Task<Result<void, StreamError>>