ClientWebSocketOptions.SetBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.