Class: FinagleThrift::RequestContext

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

Overview

This struct serializes com.twitter.finagle.Context

Constant Summary collapse

KEY =
1
VALUE =
2
FIELDS =
{
  KEY => {:type => ::Thrift::Types::STRING, :name => 'key', :binary => true},
  VALUE => {:type => ::Thrift::Types::STRING, :name => 'value', :binary => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end