We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411c544 commit 691befdCopy full SHA for 691befd
1 file changed
README.md
@@ -34,7 +34,7 @@ composer require initphp/socket
34
public static function server(int $handler = Socket::TCP, string $host = '', int $port = 0, null|string|float $argument = null): \InitPHP\Socket\Interfaces\SocketServerInterface
35
```
36
37
-- `$handler` : `Socket::SSL`, `Socket::TCP`, `Socket::TLS` or `Socket::UDP`
+- `$handler` : `Socket::SSL`, `Socket::TCP`, `Socket::TLS` or `Socket::UDP`
38
- `$host` : Identifies the socket host. If not defined or left blank, it will throw an error.
39
- `$port` : Identifies the socket port. If not defined or left blank, it will throw an error.
40
- `$argument` : This value is the value that will be sent as 3 parameters to the constructor method of the handler.
0 commit comments