Skip to content

Commit ebe6e42

Browse files
committed
[CLIENT] Add documentation of 'compression' option on client
1 parent 3534050 commit ebe6e42

File tree

1 file changed

+2
-0
lines changed
  • elasticsearch-transport/lib/elasticsearch/transport

1 file changed

+2
-0
lines changed

elasticsearch-transport/lib/elasticsearch/transport/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ class Client
108108
#
109109
# @option arguments [String] :send_get_body_as Specify the HTTP method to use for GET requests with a body.
110110
# (Default: GET)
111+
# @option arguments [true, false] :compression Whether to compress requests. Responses will automatically be
112+
# inflated if they are compressed. Gzip compression will be used. The default is false.
111113
#
112114
# @yield [faraday] Access and configure the `Faraday::Connection` instance directly with a block
113115
#

0 commit comments

Comments
 (0)