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



77
78
79
# File 'lib/httpx/plugins/grpc/grpc_encoding.rb', line 77

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

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



73
74
75
# File 'lib/httpx/plugins/grpc/grpc_encoding.rb', line 73

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