$handlerStack = \GuzzleHttp\HandlerStack::create();
$handlerStack->push(new \MNIB\Guzzle\ThrottleMiddleware());
$httpClient = new \GuzzleHttp\Client(array(
'handler' => $handlerStack,
'throttle_delay' => 1000 // in milliseconds
));
-
Notifications
You must be signed in to change notification settings - Fork 0
mynameisbogdan/guzzle-throttle-middleware
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Guzzle 6/7 middleware for delaying requests dynamically
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published