From 691befdf347bb07e385f2e77ad56338ff0468b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammet=20=C5=9EAFAK?= <104234499+muhammetsafak@users.noreply.github.com> Date: Sat, 23 Apr 2022 05:11:26 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b33820..fc3a666 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ composer require initphp/socket public static function server(int $handler = Socket::TCP, string $host = '', int $port = 0, null|string|float $argument = null): \InitPHP\Socket\Interfaces\SocketServerInterface ``` -- `$handler` : `Socket::SSL`, `Socket::TCP`, `Socket::TLS` or `Socket::UDP` +- `$handler` : `Socket::SSL`, `Socket::TCP`, `Socket::TLS` or `Socket::UDP` - `$host` : Identifies the socket host. If not defined or left blank, it will throw an error. - `$port` : Identifies the socket port. If not defined or left blank, it will throw an error. - `$argument` : This value is the value that will be sent as 3 parameters to the constructor method of the handler.