Пример #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;
		}
Пример #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;
        }