Method: Sentry::SpotlightTransport#conn
- Defined in:
- lib/sentry/transport/spotlight_transport.rb
permalink #conn ⇒ Object
Similar to HTTPTransport connection, but does not support Proxy and SSL
43 44 45 46 47 48 |
# File 'lib/sentry/transport/spotlight_transport.rb', line 43 def conn sidecar = URI(@sidecar_url) connection = ::Net::HTTP.new(sidecar.hostname, sidecar.port, nil) connection.use_ssl = false connection end |