mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-10 04:31:14 +00:00
update ggemini api version
This commit is contained in:
parent
1d9e0bf9b2
commit
23eca5a8bc
@ -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| {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user