Skip to content

gipfl/curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gipfl\Curl

Mostly async CURL implementation to allow for an easier migration to ReactPHP for components depending on CURL features

Simple Example

<?php

use gipfl\Curl\CurlAsync;

$loop = \React\EventLoop\Factory::create();
$curl = new CurlAsync($loop);
$curl->get('https://www.nytimes.com');
$loop->run();

Limitations

For now, as a low-level library this implementation wants to be as transparent as possible. This means that there is no automagic handling of redirects. You get every Response and must be prepared to deal with all kind of status codes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages