4ef660d7cb100ac1b3c0f504b797618717f2c6bd
[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.