Table of Contents

Method SendAsync

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

SendAsync(ReadOnlyMemory<byte>)

Sends data asynchronously over the connection.

ValueTask<int> SendAsync(ReadOnlyMemory<byte> buffer)

Parameters

buffer ReadOnlyMemory<byte>

The buffer containing the data to send.

Returns

ValueTask<int>

A task representing the asynchronous send operation with the number of bytes sent.