Compartir a través de


ClientWebSocketOptions.SetBuffer Método

Definición

Establece parámetros de búfer del cliente.

Sobrecargas

SetBuffer(Int32, Int32)

Establece los parámetros de búfer del cliente.

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Establece parámetros de búfer del cliente.

SetBuffer(Int32, Int32)

Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs

Establece los parámetros de búfer del cliente.

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)

Parámetros

receiveBufferSize
Int32

Tamaño, en bytes, del búfer de recepción de cliente.

sendBufferSize
Int32

Tamaño, en bytes, del búfer de envío de cliente.

Atributos

Se aplica a

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs

Establece parámetros de búfer del cliente.

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))

Parámetros

receiveBufferSize
Int32

Tamaño, en bytes, del búfer de recepción de cliente.

sendBufferSize
Int32

Tamaño, en bytes, del búfer de envío de cliente.

buffer
ArraySegment<Byte>

El tamaño de búfer que se va a usar.

Atributos

Se aplica a