Skip to content

Commit 31bc07d

Browse files
async http
1 parent 231fa04 commit 31bc07d

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ Homestead.json
2828
.env.production
2929
.phpactor.json
3030
auth.json
31+
composer.lock

composer.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "async-http/async-http",
3+
"description": "Async HTTP client",
4+
"type": "library",
5+
"require": {
6+
"php": "^8.4",
7+
"ext-sockets": "*"
8+
},
9+
"require-dev": {
10+
"phpunit/phpunit": "^12.2"
11+
},
12+
"license": "MIT",
13+
"autoload": {
14+
"psr-4": {
15+
"Async\\Http\\": "src/Http/"
16+
}
17+
},
18+
"authors": [
19+
{
20+
"name": "Sushil Kumar",
21+
"email": "sushilkumbhar77@gmail.com"
22+
}
23+
],
24+
"minimum-stability": "stable",
25+
"prefer-stable": true
26+
}

src/Http/MultiAsyncHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace AsyncHttp\Http;
2+
namespace Async\Http;
33

44
class MultiAsyncHandler
55
{
@@ -45,4 +45,4 @@ private function extractSocket(\Generator $gen): mixed {
4545
}
4646
return null;
4747
}
48-
}
48+
}

0 commit comments

Comments
 (0)