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(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) { }