Skip to content

Commit

Permalink
feature: await methods, closes #153
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Jan 31, 2024
1 parent e70c2f8 commit 78bd204
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 43 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"ext-json": "*",
"phpgt/async": "^1.0",
"phpgt/promise": "^2.2.3",
"phpgt/http": "dev-220-async as v1.2.2",
"phpgt/http": "^1.3",
"phpgt/curl": "^3.1.1",
"phpgt/json": "^1.2",
"phpgt/propfunc": "^1.0"
Expand Down
75 changes: 33 additions & 42 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/phpunit/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public function testFetchRedirectError():void {
self::assertInstanceOf(FetchException::class, $actualRejection);
}

/** @runInSeparateProcess */
public function testAwaitFetch():void {
$http = new Http(
[],
Expand Down

0 comments on commit 78bd204

Please sign in to comment.