Exemplo n.º 1
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;
        }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
 public CurlResponseStream(Easy easy)
     : this(new Multi { easy }, easy)
 {
 }
Exemplo n.º 4
0
 public CurlResponseStream(Easy easy) : this(new Multi {
     easy
 }, easy)
 {
 }