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