-- Leo's gemini proxy

-- Connecting to yggverse.cities.yesterweb.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

nps-php 1.0.0


Initial stable release!


Includes Server class to build interactive applications


Example


$server = new \Yggverse\Nps\Server;

$server->start(
    function (
        string $content,
        string $request,
        string $connect
    ) {
        printf(
            'connection: %s request: %s',
            $connect,
            $request
        );

        var_dump(
            $content
        );
    }
);

Links


Download nps-php 1.0.0

-- Response ended

-- Page fetched on Mon May 20 20:39:00 2024