From c411291150fffded2b82fa3c947aca96488dc046 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 24 Apr 2024 22:29:07 +0300 Subject: [PATCH] update readme --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d857f10..8b44ca5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # nps-php -PHP 8 / Composer Library for NPS Protocol (see also [nex-php](https://github.com/YGGverse/nex-php)) +PHP 8 / Composer Library for NPS Protocol -Like Titan for Gemini, NPS is the satellite for Nex protocol\ +Like Titan for Gemini, NPS is the satellite for Nex protocol (see also [nex-php](https://github.com/YGGverse/nex-php))\ it uses dot in line to signal the package ending. ## Specification @@ -47,13 +47,15 @@ Define handler function as the argument to process application logic dependent o ``` php $server->start( function ( + string $content, string $request, string $connect ) { printf( - 'connection: %s request: %s', + 'connection: %s request: %s content: %s', $connect, - $request + $request, + $content ); } );