Skip to content

Commit 759c068

Browse files
authored
Update README.md
1 parent 7f7de28 commit 759c068

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ use MaplePHP\Http\Client;
249249
use MaplePHP\Http\Request;
250250

251251
// Init request client
252-
$client = new Http\Client([CURLOPT_HTTPAUTH => CURLAUTH_DIGEST]); // Pass on Curl options
252+
$client = new Client([CURLOPT_HTTPAUTH => CURLAUTH_DIGEST]); // Pass on Curl options
253253

254254
// Create request data
255-
$request = new Http\Request(
255+
$request = new Request(
256256
"POST", // The HTTP Method (GET, POST, PUT, DELETE, PATCH)
257257
"https://admin:mypass@example.com:443/test.php", // The Request URI
258258
["customHeader" => "lorem"], // Add Headers, empty array is allowed

0 commit comments

Comments
 (0)