Class: FinagleThrift::ResponseHeader
- Inherits:
-
Object
- Object
- FinagleThrift::ResponseHeader
- 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- CONTEXTS =
2- FIELDS =
{ SPANS => {:type => ::Thrift::Types::LIST, :name => 'spans', :element => {:type => ::Thrift::Types::STRUCT, :class => FinagleThrift::Span}}, CONTEXTS => {:type => ::Thrift::Types::LIST, :name => 'contexts', :element => {:type => ::Thrift::Types::STRUCT, :class => FinagleThrift::RequestContext}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
219 |
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 219 def struct_fields; FIELDS; end |
#validate ⇒ Object
221 222 |
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 221 def validate end |