abstract class
Awscr::S3::Response::Base
- Awscr::S3::Response::Base
- Reference
- Object
Overview
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.
Direct Known Subclasses
- Awscr::S3::Response::BatchDeleteOutput
- Awscr::S3::Response::CompleteMultipartUpload
- Awscr::S3::Response::CopyObjectOutput
- Awscr::S3::Response::GetObjectOutput
- Awscr::S3::Response::HeadObjectOutput
- Awscr::S3::Response::ListAllMyBuckets
- Awscr::S3::Response::ListObjectsV2
- Awscr::S3::Response::PutObjectOutput
- Awscr::S3::Response::StartMultipartUpload
Defined in:
awscr-s3/responses/base.crConstructors
Class Method Summary
Instance Method Summary
- #client_error?(*args, **options)
- #client_error?(*args, **options, &)
- #code(*args, **options)
- #code(*args, **options, &)
- #headers : HTTP::Headers
- #server_error?(*args, **options)
- #server_error?(*args, **options, &)
- #status : HTTP::Status
- #status_message : String | Nil
- #success?(*args, **options)
- #success?(*args, **options, &)
Constructor Detail
def self.new(status : HTTP::Status, status_message : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
#