Sha256: ceba95c63bbe530095f9204da6a3e1fdae7d02071cbca85253897f9b7a976ef3
Contents?: true
Size: 652 Bytes
Versions: 4
Compression:
Stored size: 652 Bytes
Contents
# typed: true require 'datadog/core/encoding' require 'ddtrace/transport/io/client' require 'ddtrace/transport/io/traces' module Datadog module Transport # Namespace for IO transport components module IO module_function # Builds a new Transport::IO::Client def new(out, encoder) Client.new(out, encoder) end # Builds a new Transport::IO::Client with default settings # Pass options to override any settings. def default(options = {}) new( options.fetch(:out, $stdout), options.fetch(:encoder, Core::Encoding::JSONEncoder) ) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.2.0 | lib/ddtrace/transport/io.rb |
ddtrace-1.1.0 | lib/ddtrace/transport/io.rb |
ddtrace-1.0.0 | lib/ddtrace/transport/io.rb |
ddtrace-1.0.0.beta2 | lib/ddtrace/transport/io.rb |