/// <summary> /// Initialize WebSocket server with a given IP endpoint /// </summary> /// <param name="context">SSL context</param> /// <param name="endpoint">IP endpoint</param> public WssServer(SslContext context, IPEndPoint endpoint) : base(context, endpoint) { WebSocket = new WebSocket(this); }
/// <summary> /// Initialize WebSocket server with a given IP address and port number /// </summary> /// <param name="context">SSL context</param> /// <param name="address">IP address</param> /// <param name="port">Port number</param> public WssServer(SslContext context, string address, int port) : base(context, address, port) { WebSocket = new WebSocket(this); }