Closed rashtao closed 4 months ago
Support to HTTP content encoding for requests and responses.
Added to ArangoDB.Builder the following configuration methods:
ArangoDB.Builder
compression(Compression)
content-encoding
accept-encoding
NONE
DEFLATE
GZIP
compressionThreshold(Integer)
1024
compressionLevel
6
Added config properties:
compression
compressionThreshold
Doc PR: https://github.com/arangodb/docs-hugo/pull/393
Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
See analysis details on SonarCloud
Failed conditions 0.0% Coverage on New Code (required ≥ 80%)
Support to HTTP content encoding for requests and responses.
Added to
ArangoDB.Builder
the following configuration methods:compression(Compression)
: thecontent-encoding
andaccept-encoding
to use for HTTP requests, possible values are:NONE
,DEFLATE
,GZIP
, (default:NONE
)compressionThreshold(Integer)
: the minimum HTTP request body size (in bytes) to trigger compression, (default:1024
)compressionLevel
: compression level between 0 and 9, (default:6
)Added config properties:
compression
:NONE
,DEFLATE
orGZIP
compressionThreshold
compressionLevel
Doc PR: https://github.com/arangodb/docs-hugo/pull/393