WebSocketBuffer Class

Namespace
Microsoft.Net.WebSockets
Assemblies
  • Microsoft.Net.WebSockets.Server

Syntax

public class WebSocketBuffer : IDisposable
class Microsoft.Net.WebSockets.WebSocketBuffer

Methods

CreateInternalBufferArraySegment(System.Int32, System.Int32, System.Boolean)
Return type:System.ArraySegment<System.Byte>
public static ArraySegment<byte> CreateInternalBufferArraySegment(int receiveBufferSize, int sendBufferSize, bool isServerBuffer)
Dispose()
public void Dispose()
Dispose(System.Net.WebSockets.WebSocketState)
public void Dispose(WebSocketState webSocketState)
Validate(System.Int32, System.Int32, System.Int32, System.Boolean)
public static void Validate(int count, int receiveBufferSize, int sendBufferSize, bool isServerBuffer)

Fields

MinSendBufferSize()
Return type:System.Int32
public const int MinSendBufferSize = 16

Properties

Microsoft.Net.WebSockets.WebSocketBuffer.ReceiveBufferSize
Return type:System.Int32
public int ReceiveBufferSize { get; }
Microsoft.Net.WebSockets.WebSocketBuffer.SendBufferSize
Return type:System.Int32
public int SendBufferSize { get; }