WebSocket.CreateClientBuffer(Int32, Int32) 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.
Create client buffers to use with this WebSocket instance.
public:
static ArraySegment<System::Byte> CreateClientBuffer(int receiveBufferSize, int sendBufferSize);
public static ArraySegment<byte> CreateClientBuffer (int receiveBufferSize, int sendBufferSize);
static member CreateClientBuffer : int * int -> ArraySegment<byte>
Public Shared Function CreateClientBuffer (receiveBufferSize As Integer, sendBufferSize As Integer) As ArraySegment(Of Byte)
Parameters
- receiveBufferSize
- Int32
The size, in bytes, of the client receive buffer.
- sendBufferSize
- Int32
The size, in bytes, of the send buffer.
Returns
An array with the client buffers.
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.