You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
631 B
28 lines
631 B
# gemini-php 0.6.0 |
|
|
|
Add stream context options support |
|
|
|
## Example |
|
|
|
``` php |
|
$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 |
|
|
|
=> https://github.com/YGGverse/gemini-php/releases/tag/0.6.0 Download gemini-php 0.6.0 |
|
=> https://github.com/YGGverse/net-php Network Resolver in PHP 8 |