flush docs
[mdref/mdref-http] / http / Client / Curl / User / socket.md
1 # void http\Client\Curl\User::socket(resource $socket, int $poll)
2
3 Register (or deregister) a socket watcher.
4
5 ## Params:
6
7 * resource $socket
8 The socket descriptor to watch.
9 * int $poll
10 http\Client\Curl\User::POLL_* constant.