Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebSocketClient.Receive Method

Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9147)

Receive(ArraySegment<Byte>)

Receives a message fragment from the server.

Declaration
public WebSocketReceiveResult Receive(ArraySegment<byte> buffer)
Parameters
Type Name Description
ArraySegment<Byte> buffer

Array segment that receives message fragment data.

Returns
Type Description
WebSocketReceiveResult

Receive<T>()

Receives a message of the specified type from the server. Only String, byte array and Object types are currently supported.

Declaration
public T Receive<T>()
    where T : class
Returns
Type Description
T
Type Parameters
Name Description
T
In This Article
  • Receive(ArraySegment<Byte>)
  • Receive<T>()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies