Module: HTTPX::Transcoder::GRPCEncoding

Defined in:
lib/httpx/plugins/grpc/grpc_encoding.rb

Defined Under Namespace

Classes: Deflater, Inflater

Class Method Summary collapse

Class Method Details

.decode(response) ⇒ Object



83
84
85
# File 'lib/httpx/plugins/grpc/grpc_encoding.rb', line 83

def self.decode(response)
  Inflater.new(response)
end

.encode(*args, **kwargs) ⇒ Object



79
80
81
# File 'lib/httpx/plugins/grpc/grpc_encoding.rb', line 79

def self.encode(*args, **kwargs)
  Deflater.new(*args, **kwargs)
end