class Blitz::Curl::Sprint

Use this to run a sprint against your app. The return values include the response time, the region from which the sprint was run along with the full request and response headers and the response body.

Public Instance Methods

execute() click to toggle source

The primary method to execute a sprint from region. This method supports all of the arguments that the blitz bar supports. For example:

result = Blitz::Curl.parse('-r california www.example.com').execute
# File lib/blitz/curl/sprint.rb, line 108
def execute
    queue
    result
end