Files
scylladb/utils/http_client_error_processing.hh
Avi Kivity 0ae22a09d4 LICENSE: Update to version 1.1
Updated terms of non-commercial use (must be a never-customer).
2026-04-12 19:46:33 +03:00

21 lines
462 B
C++

/*
* Copyright (C) 2026-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
*/
#pragma once
#include <seastar/http/reply.hh>
#include <seastar/util/bool_class.hh>
namespace utils::http {
using retryable = seastar::bool_class<struct is_retryable>;
retryable from_http_code(seastar::http::reply::status_type http_code);
retryable from_system_error(const std::system_error& system_error);
} // namespace utils::http