public CurlResponseStream(Multi multi, Easy easy)
        {
            if (multi == null)
                throw new ArgumentNullException ("multi");
            else if (easy == null)
                throw new ArgumentNullException ("easy");

            this.multi = multi;
            easy.WriteHandler = AppendBuffer;
        }
示例#2
0
        public CurlResponseStream(Multi multi, Easy easy)
        {
            if (multi == null)
            {
                throw new ArgumentNullException("multi");
            }
            else if (easy == null)
            {
                throw new ArgumentNullException("easy");
            }

            this.multi        = multi;
            easy.WriteHandler = AppendBuffer;
        }
 public CurlResponseStream(Easy easy)
     : this(new Multi { easy }, easy)
 {
 }
示例#4
0
 public CurlResponseStream(Easy easy) : this(new Multi {
     easy
 }, easy)
 {
 }