Skip to content

0.6.0

Compare
Choose a tag to compare
@d47081 d47081 released this 06 Apr 06:28
· 42 commits to main since this release

Add stream context options support to Request instance

Example

$request = new \Yggverse\Gemini\Client\Request(
    'gemini://yggverse.cities.yesterweb.org',
    '68.133.1.71' // make direct request to the resolved host
);

$request->setOptions(
    [
        'ssl' =>
        [
            'peer_name'        => 'yggverse.cities.yesterweb.org', // SNI
            'verify_peer'      => false,
            'verify_peer_name' => false
        ]
    ]
);

Links

Full Changelog: 0.5.0...0.6.0