Home
last modified time | relevance | path

Searched refs:http3_conn (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/quiche/examples/
Dhttp3-server.rs51 http3_conn: Option<quiche::h3::Connection>, field
274 http3_conn: None, in main()
304 client.http3_conn.is_none() in main()
324 client.http3_conn = Some(h3_conn); in main()
327 if client.http3_conn.is_some() { in main()
335 let http3_conn = client.http3_conn.as_mut().unwrap(); in main() localVariable
337 match http3_conn.poll(&mut client.conn) { in main()
498 let http3_conn = &mut client.http3_conn.as_mut().unwrap(); in handle_request() localVariable
515 match http3_conn.send_response(conn, stream_id, &headers, false) { in handle_request()
535 let written = match http3_conn.send_body(conn, stream_id, &body, true) { in handle_request()
[all …]
Dhttp3-client.rs101 let mut http3_conn = None; in main() localVariable
207 if conn.is_established() && http3_conn.is_none() { in main()
208 http3_conn = Some( in main()
216 if let Some(h3_conn) = &mut http3_conn { in main()
226 if let Some(http3_conn) = &mut http3_conn { in main()
229 match http3_conn.poll(&mut conn) { in main()
239 http3_conn.recv_body(&mut conn, stream_id, &mut buf) in main()
/external/rust/crates/quiche/src/h3/
Dmod.rs631 let mut http3_conn = Connection::new(config, conn.is_server)?; in with_transport() localVariable
633 http3_conn.send_settings(conn)?; in with_transport()
637 http3_conn.open_qpack_encoder_stream(conn).ok(); in with_transport()
638 http3_conn.open_qpack_decoder_stream(conn).ok(); in with_transport()
643 http3_conn.open_grease_stream(conn).ok(); in with_transport()
646 Ok(http3_conn) in with_transport()