update ggemini api version

This commit is contained in:
yggverse 2024-10-24 20:24:44 +03:00
parent 1d9e0bf9b2
commit 23eca5a8bc

View File

@ -231,7 +231,7 @@ impl Page {
Ok(_) => {
// Define local namespace
use gemini::client::{
connection::input_stream::ByteBuffer,
connection::Input,
response::{
header::{
Mime as ResponseMime,
@ -248,10 +248,10 @@ impl Page {
action_update.activate(Some(&id));
// Create new byte buffer and read server response
ByteBuffer::new().read_input_stream_async(
connection.input_stream(),
cancellable.clone(),
Priority::DEFAULT,
Input::new_from_stream(
connection.input_stream()
).read_all_async(
Some(cancellable.clone()),
None,
None,
move |i| {