Table of Contents

Method SendMessageAsync

Namespace
DisCatSharp.Net.WebSocket
Assembly
DisCatSharp.dll

SendMessageAsync(string)

Send a message to the WebSocket server.

public Task SendMessageAsync(string message)

Parameters

message string

The message to send.

Returns

Task

SendMessageAsync(byte[])

Send a binary message to the WebSocket server.

public Task SendMessageAsync(byte[] data)

Parameters

data byte[]

The binary data to send.

Returns

Task