class

Awscr::S3::Response::Base

Inherits Reference < Object

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)
Source

Class methods

Instance methods

client_error?(*args, **options)
Source
client_error?(*args, **options, &)
Source
code(*args, **options)
Source
code(*args, **options, &)
Source
headers
Source
server_error?(*args, **options)
Source
server_error?(*args, **options, &)
Source
status
Source
status_message
Source
success?(*args, **options)
Source
success?(*args, **options, &)
Source