refactor project tree

This commit is contained in:
yggverse 2024-04-21 21:44:47 +03:00
parent fd8d5ddf96
commit f4199191b5
14 changed files with 43 additions and 23 deletions

View file

@ -0,0 +1,28 @@
# 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