class HTTPClient

Public Instance Methods

do_get_block(req, proxy, conn, &block)
Also aliased as: do_get_block_without_mmtrix
do_get_block_with_mmtrix(req, proxy, conn, &block) click to toggle source
# File lib/mmtrix/agent/instrumentation/httpclient.rb, line 29
def do_get_block_with_mmtrix(req, proxy, conn, &block)
  wrapped_request = Mmtrix::Agent::HTTPClients::HTTPClientRequest.new(req)

  response = nil
  ::Mmtrix::Agent::CrossAppTracing.tl_trace_http_request(wrapped_request) do
    do_get_block_without_mmtrix(req, proxy, conn, &block)
    response = conn.pop
    conn.push response
    ::Mmtrix::Agent::HTTPClients::HTTPClientResponse.new(response)
  end
  response
end
Also aliased as: do_get_block
do_get_block_without_mmtrix(req, proxy, conn, &block)
Alias for: do_get_block