mdref.json config
[mdref/mdref-http] / http / Client / attach.md
1 # http\Client http\Client::attach(SplObserver $observer)
2
3 Implements SplSubject. Attach another observer.
4 Attached observers will be notified with progress of each transfer.
5
6 ## Params:
7
8 * SplObserver $observer
9 An implementation of SplObserver.
10
11 ## Returns:
12
13 * http\Client, self.
14
15 ## Throws:
16
17 * http\Exception\InvalidArgumentException
18 * http\Exception\UnexpectedValueException