CommonWebSocket Constructor
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.
public:
CommonWebSocket(System::IO::Stream ^ stream, System::String ^ subProtocol, TimeSpan keepAliveInterval, int receiveBufferSize, bool maskOutput, bool useZeroMask, bool unmaskInput);
public CommonWebSocket (System.IO.Stream stream, string subProtocol, TimeSpan keepAliveInterval, int receiveBufferSize, bool maskOutput, bool useZeroMask, bool unmaskInput);
new Microsoft.AspNetCore.WebSockets.Protocol.CommonWebSocket : System.IO.Stream * string * TimeSpan * int * bool * bool * bool -> Microsoft.AspNetCore.WebSockets.Protocol.CommonWebSocket
Public Sub New (stream As Stream, subProtocol As String, keepAliveInterval As TimeSpan, receiveBufferSize As Integer, maskOutput As Boolean, useZeroMask As Boolean, unmaskInput As Boolean)
Parameters
- stream
- Stream
- subProtocol
- String
- keepAliveInterval
- TimeSpan
- receiveBufferSize
- Int32
- maskOutput
- Boolean
- useZeroMask
- Boolean
- unmaskInput
- Boolean