Includes Body::findLinks method to grab clickable links from Gemtext
$request = new \Yggverse\Gemini\Client\Request( 'gemini://yggverse.cities.yesterweb.org' ); $response = new \Yggverse\Gemini\Client\Response( $request->getResponse() ); $body = new \Yggverse\Gemini\Gemtext\Body( $response->getBody() ); var_dump( $body->findLinks() // returns array of gemini links ); var_dump( $body->findLinks('http') // returns array of http links );