Server API changed with new features
Constructor receive line and size arguments, where the class contain new setters:
Handler function return success status as the new argument
$server = new \Yggverse\Nps\Server; $server->start( function ( bool $success, string $content, string $request, string $connect ) { printf( 'connection: %s request: %s', $connect, $request ); if ($success) { var_dump( $content ); } } );