mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
Add test for retry wrapper
This commit is contained in:
parent
96b787d793
commit
af7f329db7
2 changed files with 56 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class RetryWrapper extends Wrapper {
|
|||
*/
|
||||
public static function wrap($source) {
|
||||
$context = stream_context_create(array(
|
||||
'callback' => array(
|
||||
'retry' => array(
|
||||
'source' => $source
|
||||
)
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue