Created
July 13, 2022 16:50
-
-
Save richardDobron/2ce44220c0205933122fc8e5df801f2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$response = new \dobron\BigPipe\AsyncResponse(); | |
$response->reload(250); // reload page with 250ms delay | |
// or | |
$response->redirect('/onboarding', 500); // redirect with 500ms delay | |
$response->send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment