UseCompressor returns a CallOption which sets the compressor used when sending the request. If WithCompressor is also set, UseCompressor has higher priority. # Experimental Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.
(name string)
| 511 | // Notice: This API is EXPERIMENTAL and may be changed or removed in a |
| 512 | // later release. |
| 513 | func UseCompressor(name string) CallOption { |
| 514 | return CompressorCallOption{CompressorType: name} |
| 515 | } |
| 516 | |
| 517 | // CompressorCallOption is a CallOption that indicates the compressor to use. |
| 518 | // |
no outgoing calls