Edit

Kongsi melalui


ClientWebSocketOptions.SetBuffer Method

Definition

Sets client buffer parameters.

Overloads

SetBuffer(Int32, Int32)

Sets the client buffer parameters.

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Sets client buffer parameters.

SetBuffer(Int32, Int32)

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

Sets the client buffer parameters.

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)

Parameters

receiveBufferSize
Int32

The size, in bytes, of the client receive buffer.

sendBufferSize
Int32

The size, in bytes, of the client send buffer.

Attributes

Applies to

SetBuffer(Int32, Int32, ArraySegment<Byte>)

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

Sets client buffer parameters.

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

Parameters

receiveBufferSize
Int32

The size, in bytes, of the client receive buffer.

sendBufferSize
Int32

The size, in bytes, of the client send buffer.

buffer
ArraySegment<Byte>

The receive buffer to use.

Attributes

Applies to