Beispiel #1
0
        public WebSocketClient(string address, ushort port, bool secure = false, string host = null)
        {
            Address = IPAddress.Parse(address);
            Port    = port;

            Host = host;

            Secure  = secure;
            Running = false;

            Key = RandomGen.CreateBase64Key();
        }