CommonWebSocket.CreateClientWebSocket 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.
public:
static Microsoft::AspNetCore::WebSockets::Protocol::CommonWebSocket ^ CreateClientWebSocket(System::IO::Stream ^ stream, System::String ^ subProtocol, TimeSpan keepAliveInterval, int receiveBufferSize, bool useZeroMask);
public static Microsoft.AspNetCore.WebSockets.Protocol.CommonWebSocket CreateClientWebSocket (System.IO.Stream stream, string subProtocol, TimeSpan keepAliveInterval, int receiveBufferSize, bool useZeroMask);
static member CreateClientWebSocket : System.IO.Stream * string * TimeSpan * int * bool -> Microsoft.AspNetCore.WebSockets.Protocol.CommonWebSocket
Public Shared Function CreateClientWebSocket (stream As Stream, subProtocol As String, keepAliveInterval As TimeSpan, receiveBufferSize As Integer, useZeroMask As Boolean) As CommonWebSocket
Parameters
- stream
- Stream
- subProtocol
- String
- keepAliveInterval
- TimeSpan
- receiveBufferSize
- Int32
- useZeroMask
- Boolean