Condividi tramite


ClientWebSocketOptions.SetBuffer Metodo

Definizione

Imposta i parametri del buffer del client.

Overload

SetBuffer(Int32, Int32)

Imposta i parametri del buffer del client.

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Imposta i parametri del buffer del client.

SetBuffer(Int32, Int32)

Origine:
ClientWebSocketOptions.cs
Origine:
ClientWebSocketOptions.cs
Origine:
ClientWebSocketOptions.cs

Imposta i parametri del buffer del client.

public:
 void SetBuffer(int receiveBufferSize, int sendBufferSize);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public void SetBuffer (int receiveBufferSize, int sendBufferSize);
public void SetBuffer (int receiveBufferSize, int sendBufferSize);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.SetBuffer : int * int -> unit
member this.SetBuffer : int * int -> unit
Public Sub SetBuffer (receiveBufferSize As Integer, sendBufferSize As Integer)

Parametri

receiveBufferSize
Int32

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

sendBufferSize
Int32

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

Attributi

Si applica a

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Origine:
ClientWebSocketOptions.cs
Origine:
ClientWebSocketOptions.cs
Origine:
ClientWebSocketOptions.cs

Imposta i parametri del buffer del client.

public:
 void SetBuffer(int receiveBufferSize, int sendBufferSize, ArraySegment<System::Byte> buffer);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public void SetBuffer (int receiveBufferSize, int sendBufferSize, ArraySegment<byte> buffer);
public void SetBuffer (int receiveBufferSize, int sendBufferSize, ArraySegment<byte> buffer);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.SetBuffer : int * int * ArraySegment<byte> -> unit
member this.SetBuffer : int * int * ArraySegment<byte> -> unit
Public Sub SetBuffer (receiveBufferSize As Integer, sendBufferSize As Integer, buffer As ArraySegment(Of Byte))

Parametri

receiveBufferSize
Int32

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

sendBufferSize
Int32

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

buffer
ArraySegment<Byte>

Buffer di ricezione da utilizzare.

Attributi

Si applica a