module CoverageReporter::Api
Extended Modules
Defined in:
coverage_reporter/api.crcoverage_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
- #handle_response(res)
- #redirect?(response : HTTP::Client::Response) : Bool
- #tls_for(uri : URI) : OpenSSL::SSL::Context::Client | Nil
- #with_redirects(uri : URI, max_redirects : Int32 = 10, & : URI -> HTTP::Client::Response) : HTTP::Client::Response
Instance Method Detail
def with_redirects(uri : URI, max_redirects : Int32 = 10, & : URI -> HTTP::Client::Response) : HTTP::Client::Response
#