WebSocketServer(WebSocket, RequestHandler) 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.
Initializes a new instance of the WebSocketServer class. Throws ArgumentNullException on null arguments.
public WebSocketServer (System.Net.WebSockets.WebSocket socket, Microsoft.Bot.Streaming.RequestHandler requestHandler);
new Microsoft.Bot.Streaming.Transport.WebSockets.WebSocketServer : System.Net.WebSockets.WebSocket * Microsoft.Bot.Streaming.RequestHandler -> Microsoft.Bot.Streaming.Transport.WebSockets.WebSocketServer
Public Sub New (socket As WebSocket, requestHandler As RequestHandler)
Parameters
- requestHandler
- RequestHandler
A RequestHandler to process incoming messages received by this server.