Module: HTTPX::Plugins::GRPC::ResponseMethods

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#trailing_metadataObject (readonly)

Returns the value of attribute trailing_metadata.



104
105
106
# File 'lib/httpx/plugins/grpc.rb', line 104

def 
  @trailing_metadata
end

Instance Method Details

#merge_headers(trailers) ⇒ Object



106
107
108
109
# File 'lib/httpx/plugins/grpc.rb', line 106

def merge_headers(trailers)
  @trailing_metadata = Hash[trailers]
  super
end