Table of Contents

Method SendAsync

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

SendAsync(object)

Asynchronously sends an message to the remote point.

public Task<bool> SendAsync(object message)

Parameters

message object

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

Returns

Task<bool>

SendAsync(string)

Asynchronously sends an text message to the remote point.

public Task<bool> SendAsync(string message)

Parameters

message string

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

Returns

Task<bool>

SendAsync(byte[])

Asynchronously sends an binary message to the remote point.

public Task<bool> SendAsync(byte[] buffer)

Parameters

buffer byte[]

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

Returns

Task<bool>