Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Throw exception on network errors and allow overriding network methods #1

wants to merge 1 commit into


None yet
1 participant

ntemple commented Apr 22, 2012

Fixes error when the request object is not valid due to a network error - instead of a fatal error, an exception is thrown. In theory, you can also override the new sendHTTPRequest method to use a different transport other than file_get_contents. For example, using curl if file_get_contents is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment