💾 Archived View for yggverse.cities.yesterweb.org › gemini › gemini-php › 0.7.0.gmi captured on 2024-08-25 at 00:13:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-10)

-=-=-=-=-=-=-

gemini-php 0.7.0

Client::Request method now supports resolved host as optional argument!

This feature useful to

Update dedicated to the Yo! crawler project

https://github.com/YGGverse/Yo/tree/gemini

Example

$request = new \Yggverse\Gemini\Client\Request(
    'gemini://yggverse.cities.yesterweb.org:1965/index.gmi' // target URL
    '68.133.1.71' // resolved IP, skip to use system-wide resolver
);

Alternatively, use setResolvedHost method of Request object before getResponse

$request->setResolvedHost(
    '68.133.1.71'
)

Links

Download gemini-php 0.7.0

Network Resolver in PHP 8