From 4bcbf501631a437a224ef7c3aedd08fdb8b478f3 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 25 Oct 2024 19:30:19 +0300 Subject: [PATCH] update readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c7f9508..a6ded1b 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,11 @@ match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) { } ``` +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. +* If you want to use [Cancelable](https://docs.gtk.org/gio/class.Cancellable.html) or async Priority values, take a look at [connection](#clientsocketconnection) methods. + #### `client::Error` #### `client::response` @@ -62,6 +67,7 @@ match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) { #### `client::socket::connection` #### `client::socket::connection::input` #### `client::socket::connection::input::buffer` +#### `client::socket::connection::input::buffer::Buffer` #### `client::socket::connection::output` ## Integrations