mirror of
https://github.com/YGGverse/yggverse.github.io.git
synced 2026-04-02 10:05:29 +00:00
add gemlog news
This commit is contained in:
parent
932354484b
commit
27660d2903
11 changed files with 540 additions and 0 deletions
28
news/release-gemini-php-0.6.0.gmi
Normal file
28
news/release-gemini-php-0.6.0.gmi
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Release 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue