module CoverageReporter::Api

Extended Modules

Defined in:

coverage_reporter/api.cr
coverage_reporter/api/jobs.cr

Constant Summary

DEFAULT_HEADERS = HTTP::Headers {"X-Coveralls-Reporter" => "coverage-reporter", "X-Coveralls-Reporter-Version" => VERSION, "X-Coveralls-Source" => ENV["COVERALLS_SOURCE_HEADER"]?.presence || "cli", "Accept" => "*/*", "User-Agent" => "Crystal #{Crystal::VERSION}"}

Instance Method Summary

Instance Method Detail

def handle_response(res) #

[View source]
def redirect?(response : HTTP::Client::Response) : Bool #

[View source]
def tls_for(uri : URI) : OpenSSL::SSL::Context::Client | Nil #

[View source]
def with_redirects(uri : URI, max_redirects : Int32 = 10, & : URI -> HTTP::Client::Response) : HTTP::Client::Response #

[View source]