ReCaptcha\RequestMethod\Socket
Convenience wrapper around native socket and file functions to allow for mocking.
Synopsis
class Socket
{
- // members
- private $handle = NULL;
- // methods
- public resource fsockopen()
- public int fwrite()
- public string fgets()
- public bool feof()
- public bool fclose()
Members
private
- $handle
Methods
public
- fclose() — fclose
- feof() — feof
- fgets() — fgets
- fsockopen() — fsockopen
- fwrite() — fwrite