Table of Contents

Interface IWebSocket

Namespace
Java.Net.Http
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IWebSocket

Properties

Subprotocol

String Subprotocol { get; }

Property Value

String

Methods

Abort()

void Abort()

IsInputClosed()

bool IsInputClosed()

Returns

bool

bool

IsOutputClosed()

bool IsOutputClosed()

Returns

bool

bool

Request(long)

void Request(long arg0)

Parameters

arg0 long

long

SendBinary(ByteBuffer, bool)

CompletableFuture<WebSocket> SendBinary(ByteBuffer arg0, bool arg1)

Parameters

arg0 ByteBuffer

ByteBuffer

arg1 bool

bool

Returns

CompletableFuture<WebSocket>

CompletableFuture

SendClose(int, String)

CompletableFuture<WebSocket> SendClose(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Returns

CompletableFuture<WebSocket>

CompletableFuture

SendPing(ByteBuffer)

CompletableFuture<WebSocket> SendPing(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

Returns

CompletableFuture<WebSocket>

CompletableFuture

SendPong(ByteBuffer)

CompletableFuture<WebSocket> SendPong(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

Returns

CompletableFuture<WebSocket>

CompletableFuture

SendText(CharSequence, bool)

CompletableFuture<WebSocket> SendText(CharSequence arg0, bool arg1)

Parameters

arg0 CharSequence

CharSequence

arg1 bool

bool

Returns

CompletableFuture<WebSocket>

CompletableFuture