コード例 #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;
        }
コード例 #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;
        }
コード例 #3
0
 public CurlResponseStream(Easy easy)
     : this(new Multi { easy }, easy)
 {
 }
コード例 #4
0
 public CurlResponseStream(Easy easy) : this(new Multi {
     easy
 }, easy)
 {
 }