Skip to content

Commit

Permalink
Update swoole README
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Jan 3, 2024
1 parent 8dfe731 commit 6cd3232
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ use Utopia\Http\Http;
use Utopia\Http\Request;
use Utopia\Http\Response;
use Utopia\Http\Adapter\Swoole\Server;
use function Swoole\Coroutine\run;

Http::get('/')
->inject('request')
Expand All @@ -102,7 +101,7 @@ Http::get('/')
);

$http = new Http(new Server('0.0.0.0', '80'), 'America/New_York');
run(fn() => $http->start());
$http->start();
```

### Parameters
Expand Down

0 comments on commit 6cd3232

Please sign in to comment.