Class: FinagleThrift::ResponseHeader

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/finagle-thrift/thrift/tracing_types.rb

Overview

The Response carries a reply header for tracing. These are empty unless the request is being debugged, in which case a transcript is copied.

Constant Summary collapse

SPANS =
1
FIELDS =
{
  SPANS => {:type => ::Thrift::Types::LIST, :name => 'spans', :element => {:type => ::Thrift::Types::STRUCT, :class => FinagleThrift::Span}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



173
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 173

def struct_fields; FIELDS; end

#validateObject



175
176
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 175

def validate
end