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 bool Send(object message)

Parameters

message object

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

Returns

bool

Send(string)

Sends an text message to the remote point.

public bool Send(string message)

Parameters

message string

The target message which will be as an encoded using the request preferred encoding.

Returns

bool

Send(byte[])

Sends an binary message to the remote point.

public bool Send(byte[] buffer)

Parameters

buffer byte[]

The target byte array.

Returns

bool

Send(byte[], int, int)

Sends an binary message to the remote point.

public bool 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.

Returns

bool

Send(ReadOnlyMemory<byte>)

Sends an binary message to the remote point.

public bool Send(ReadOnlyMemory<byte> buffer)

Parameters

buffer ReadOnlyMemory<byte>

The target byte memory.

Returns

bool