Module: HTTPX::Transcoder::GRPCEncoding
- Defined in:
- lib/httpx/plugins/grpc/grpc_encoding.rb,
sig/plugins/grpc/grpc_encoding.rbs
Defined Under Namespace
Classes: Deflater, Inflater
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.decode(response) ⇒ Object
85
86
87
|
# File 'lib/httpx/plugins/grpc/grpc_encoding.rb', line 85
def self.decode(response)
Inflater.new(response)
end
|
.encode(*args, **kwargs) ⇒ Object
81
82
83
|
# File 'lib/httpx/plugins/grpc/grpc_encoding.rb', line 81
def self.encode(*args, **kwargs)
Deflater.new(*args, **kwargs)
end
|
Instance Method Details
7
|
# File 'sig/plugins/grpc/grpc_encoding.rbs', line 7
def self?.decode: (Response | StreamResponse response) -> Inflater
|
5
|
# File 'sig/plugins/grpc/grpc_encoding.rbs', line 5
def self?.encode: (body_encoder body, compressed: bool) -> Deflater
|