Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Make it immutable #3

Open
mpyw opened this issue Aug 7, 2016 · 0 comments
Open

Make it immutable #3

mpyw opened this issue Aug 7, 2016 · 0 comments

Comments

@mpyw
Copy link
Member

mpyw commented Aug 7, 2016

Current implementions are based on raw Symfony/BrowserKit, however, they are too much stateful. Concurrent requests may break their logics. So I will adopt the new model.

Something like:

$ccr = new ClientCrawlerResponse();
$new_ccr = yield $ccr->requestAsync('GET', $url); 

Combine Client, Crawler and Response to make them immutable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant