mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
update readme
This commit is contained in:
parent
6819de5276
commit
1f25565a79
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ cargo add ggemini
|
|||
|
||||
High-level API to make async socket request and auto-close connection on complete.
|
||||
|
||||
Return [Response](#clientresponseresponse) on success or [Error](#clienterror) enum on failure.
|
||||
Return [Response](#clientresponseresponse) on success or [Error](#clienterror) enum on failure
|
||||
|
||||
``` rust
|
||||
use glib::{Uri, UriFlags};
|
||||
|
|
@ -44,7 +44,7 @@ match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) {
|
|||
}
|
||||
```
|
||||
|
||||
Pay attention:
|
||||
**Pay attention:**
|
||||
|
||||
* Response [Buffer](#clientsocketconnectioninputbufferBuffer) limited to default `capacity` (0x400) and `max_size` (0xfffff). If you want to change these values, use low-level API to setup connection manually.
|
||||
* To use [Cancelable](https://docs.gtk.org/gio/class.Cancellable.html) or async Priority values, take a look at [connection](#clientsocketconnection) methods.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue