Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
onassar committed May 16, 2016
1 parent 2edbc53 commit 7adc538
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -3,15 +3,15 @@ PHP-Curler

This library was many years in the making for me. While it's usage is
limited (eg. currently only supports *get*, *post* and *head* requests),
it's focused around the ability to quickly specific a resource to pull, and
it's focused around the ability to quickly specify a resource to pull, and
depending on it's meta details (eg. how big the document is, what mime
types it claims itself as), proceed with the requests.

Whether or not a url is accepted can be controlled through the following methods
- **setMime** set the acceptable mime type
- **setMimes** set the acceptable mime types

Information about a curl request's error can be accessed through the
Information about a cURL request's error can be accessed through the
**getErrors** method. Additionally, raw information about the request can be
accessed through the **getInfo** method.

Expand All @@ -21,7 +21,7 @@ accessed through the **getInfo** method.
<?php

// booting
require_once APP . '/vendors/PHP-Curler/Curler.class.php';
require_once APP . '/vendors/PHP-Curler/src/Curler.class.php';

// grab google.com contents and display
$curler = new Curler();
Expand Down

0 comments on commit 7adc538

Please sign in to comment.