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


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