From 49699d3fd85b6df80083212b3168452499580fa5 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 25 Apr 2024 07:04:15 +0300 Subject: [PATCH] update readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bf468f..ca8645b 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,14 @@ Build interactive server instance to listen NPS protocol connections! $server = new \Yggverse\Nps\Server; ``` -Provide optional `host`, `port`, `size`, `line` and `live` arguments in constructor.\ -Alternatively, just use available setters documented bellow after object initiation. +Provide optional `host`, `port`, `size`, `line` and `live` arguments in constructor: ``` php $server = new \Yggverse\Nps\Server('127.0.0.1', 1915); ``` +Alternatively, just use available setters documented bellow after object initiation + #### Server::setHost Bind server host to listen incoming connections, `127.0.0.1` by default