Compartilhar via


ClientWebSocketOptions.SetBuffer Método

Definição

Define parâmetros de buffer do cliente.

Sobrecargas

SetBuffer(Int32, Int32)

Define os parâmetros de buffer do cliente.

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Define parâmetros de buffer do cliente.

SetBuffer(Int32, Int32)

Origem:
ClientWebSocketOptions.cs
Origem:
ClientWebSocketOptions.cs
Origem:
ClientWebSocketOptions.cs

Define os parâmetros de buffer do 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

O tamanho, em bytes, do buffer de recepção do cliente.

sendBufferSize
Int32

O tamanho, em bytes, do buffer de envio do cliente.

Atributos

Aplica-se a

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Origem:
ClientWebSocketOptions.cs
Origem:
ClientWebSocketOptions.cs
Origem:
ClientWebSocketOptions.cs

Define parâmetros de buffer do 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

O tamanho, em bytes, do buffer de recepção do cliente.

sendBufferSize
Int32

O tamanho, em bytes, do buffer de envio do cliente.

buffer
ArraySegment<Byte>

O buffer de recebimento a ser usado.

Atributos

Aplica-se a