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