8000 fix readme examples · shuchkin/react-http-client@8e9ff12 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e9ff12

Browse files
committed
fix readme examples
1 parent 0828316 commit 8e9ff12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $loop->run();
4545
$loop = \React\EventLoop\Factory::create();
4646
$http = new \Shuchkin\ReactHTTP\Client( $loop );
4747

48-
$http->get('GET', 'https://jigsaw.w3.org/HTTP/TE/foo.txt',['User-Agent' => 'ReactPHP Awesome'] )->then(
48+
$http->get('https://jigsaw.w3.org/HTTP/TE/foo.txt',['User-Agent' => 'ReactPHP Awesome'] )->then(
4949
function ( $content ) {
5050
echo $content;
5151
},

0 commit comments

Comments
 (0)
0