Skip to content

Commit

Permalink
add gzip compression to JsonRpcHttpClient (emeraldpay#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
a10zn8 authored Apr 3, 2023
1 parent ceea848 commit 13efe73
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class JsonRpcHttpClient(
.pendingAcquireMaxCount(5000)
.build()
var build = HttpClient.create(connectionProvider)
.compress(true)
.resolver(DefaultAddressResolverGroup.INSTANCE)

build = build.headers { h ->
Expand Down

0 comments on commit 13efe73

Please sign in to comment.