Awscr::S3::Response::Base
Common functionality for every high-level response wrapper.
It stores the raw HTTP status line and headers so callers can
inspect retries, rate-limits, etc. Sub-classes must call super
from their initialize.
Constructors
new(status : HTTP::Status, status_message : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
SourceClass methods
extract(resp : HTTP::Client::Response)
SourceInstance methods
client_error?(*args, **options)
Sourceclient_error?(*args, **options, &)
Sourcecode(*args, **options)
Sourcecode(*args, **options, &)
Sourceheaders
Sourceserver_error?(*args, **options)
Sourceserver_error?(*args, **options, &)
Sourcestatus
Sourcestatus_message
Sourcesuccess?(*args, **options)
Sourcesuccess?(*args, **options, &)
Source