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

API Browser

Method

Write

func Write(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken = default) -> Task<Result<void, StreamError>>

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

Implements OutputStream.Write

Encrypts and writes the complete range. Success does not imply peer receipt.

Parameters

Name Type Description
buffer Byte[]
offset Int32
count Int32
cancellationToken CancellationToken

Return value

Task<Result<void, StreamError>>