Table of Contents

Method Send

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

Send(object?)

Sends an text message to the remote point.

public void Send(object? message)

Parameters

message object

The target message which will be as an encoded UTF-8 string.

Send(string)

Sends an text message to the remote point.

public void Send(string message)

Parameters

message string

The target message which will be as an encoded UTF-8 string.

Send(byte[])

Sends an binary message to the remote point.

public void Send(byte[] buffer)

Parameters

buffer byte[]

The target byte array.

Send(byte[], int, int)

Sends an binary message to the remote point.

public void Send(byte[] buffer, int start, int length)

Parameters

buffer byte[]

The target byte array.

start int

The index at which to begin the memory.

length int

The number of items in the memory.

Send(ReadOnlyMemory<byte>)

Sends an binary message to the remote point.

public void Send(ReadOnlyMemory<byte> buffer)

Parameters

buffer ReadOnlyMemory<byte>

The target byte memory.