-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Rails.configuration.to_prepare do
Http2.class_eval do
def get(args)
parsed_args = parse_args(args)
url_builder = Http2::UrlBuilder.new
url_builder.host = @args[:host]
url_builder.path = parsed_args[:url]
url_builder.port = @args[:port] if @args[:port]
url_builder.protocol = "https" if ssl?
url = url_builder.build
vcr_request = VCR::Request.new("GET", url)
binding.pry
response = Http2::Response.new(debug: true, request: request)
end
end
Http2::Connection.class_eval do
def reconnect
puts "Http2::Connection disable reconnect"
end
end
endReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels