Skip to content

0.7.0

Compare
Choose a tag to compare
@d47081 d47081 released this 07 Apr 17:56
· 39 commits to main since this release

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

This feature useful to

  • reduce traffic usage
  • increase page loading time by DNS results cache in memory
  • alternative networks resolvers, isolated of system

Update dedicated to the Yo! crawler project

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

Full Changelog: 0.6.0...0.7.0