Udostępnij za pośrednictwem


ClientWebSocketOptions.SetBuffer Metoda

Definicja

Ustawia parametry buforu klienta.

Przeciążenia

SetBuffer(Int32, Int32)

Ustawia parametry buforu klienta.

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Ustawia parametry buforu klienta.

SetBuffer(Int32, Int32)

Źródło:
ClientWebSocketOptions.cs
Źródło:
ClientWebSocketOptions.cs
Źródło:
ClientWebSocketOptions.cs

Ustawia parametry buforu klienta.

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)

Parametry

receiveBufferSize
Int32

Rozmiar w bajtach buforu odbioru klienta.

sendBufferSize
Int32

Rozmiar w bajtach buforu wysyłania klienta.

Atrybuty

Dotyczy

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Źródło:
ClientWebSocketOptions.cs
Źródło:
ClientWebSocketOptions.cs
Źródło:
ClientWebSocketOptions.cs

Ustawia parametry buforu klienta.

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

Parametry

receiveBufferSize
Int32

Rozmiar w bajtach buforu odbioru klienta.

sendBufferSize
Int32

Rozmiar w bajtach buforu wysyłania klienta.

buffer
ArraySegment<Byte>

Bufor odbierania do użycia.

Atrybuty

Dotyczy