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

			Host = (RtmpsProxyHost)host;
		}
示例#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;
        }