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