Exemplo n.º 1
0
		public RtmpsProxyClient(IProxyHost host, TcpClient src)
			: base(host, src)
		{
			if (!(host is RtmpsProxyHost))
				throw new ArgumentException("Expected RtmpsProxyHost, got " + host.GetType());

			Host = (RtmpsProxyHost)host;
		}
Exemplo n.º 2
0
        public RtmpsProxyClient(IProxyHost host, TcpClient src)
            : base(host, src)
        {
            if (!(host is RtmpsProxyHost))
            {
                throw new ArgumentException("Expected RtmpsProxyHost, got " + host.GetType());
            }

            Host = (RtmpsProxyHost)host;
        }