Skip to content

Commit

Permalink
assume http2
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Oct 8, 2024
1 parent 2f60720 commit 01282fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rs-dapi-client/src/transport/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ fn create_channel(
let mut builder = Channel::builder(uri).tls_config(
ClientTlsConfig::new()
.with_native_roots()
.with_webpki_roots(),
.with_webpki_roots()
.assume_http2(true),
)?;

if let Some(settings) = settings {
Expand Down

0 comments on commit 01282fb

Please sign in to comment.