WebSocket.CreateClientBuffer(Int32, Int32) Metodo

Definizione

Creare i buffer client da utilizzare con questa istanza di WebSocket.

public:
 static ArraySegment<System::Byte> CreateClientBuffer(int receiveBufferSize, int sendBufferSize);
public static ArraySegment<byte> CreateClientBuffer (int receiveBufferSize, int sendBufferSize);
static member CreateClientBuffer : int * int -> ArraySegment<byte>
Public Shared Function CreateClientBuffer (receiveBufferSize As Integer, sendBufferSize As Integer) As ArraySegment(Of Byte)

Parametri

receiveBufferSize
Int32

Dimensione, in byte, del buffer di ricezione del client.

sendBufferSize
Int32

Dimensioni, in byte, del buffer di invio.

Restituisce

Una matrice con i buffer client.

Si applica a