Class: Raven::Transports::UDP
Instance Attribute Summary
Attributes inherited from Transport
#configuration
Instance Method Summary
collapse
Methods inherited from Transport
#initialize
Instance Method Details
#send(auth_header, data, options = {}) ⇒ Object
13
14
15
16
17
|
# File 'lib/raven/transports/udp.rb', line 13
def send(, data, options = {})
Raven.logger.warn "DEPRECATION WARNING: Calling #send on a Transport will be \
removed in Raven-Ruby 0.14! Use #send_event instead!"
send_event(, data, options)
end
|
#send_event(auth_header, data, _options = {}) ⇒ Object
9
10
11
|
# File 'lib/raven/transports/udp.rb', line 9
def send_event(, data, _options = {})
conn.send "#{}\n\n#{data}", 0
end
|