Class: ArrowFlight::ServerCallContext

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow-flight/server-call-context.rb

Instance Method Summary collapse

Instance Method Details

#each_incoming_headerObject



20
21
22
23
24
25
# File 'lib/arrow-flight/server-call-context.rb', line 20

def each_incoming_header
  return to_enum(__method__) unless block_given?
  foreach_incoming_header do |key, value|
    yield(key, value)
  end
end

#incoming_headersObject



27
28
29
# File 'lib/arrow-flight/server-call-context.rb', line 27

def incoming_headers
  each_incoming_header.to_a
end