Skip to content

v0.5.4

Compare
Choose a tag to compare
@clue clue released this 25 Aug 12:25
· 46 commits to master since this release
  • Feature: Update Socket dependency to support hosts file on all platforms
    (#108 by @clue)

    This means that HTTP requests to hosts such as localhost will now work as
    expected across all platforms with no changes required:

    $client = new Client($loop);
    $request = $client->request('GET', 'http://localhost/');
    $request->on('response', function (Response $response) {
        // …
    });
    $request->end();