|
Arachne 1.0
Arachne - the perpetual stitcher of Wikidata entities.
|
#include <include/pheidippides/transport.hpp>
Public Member Functions | |
| bool | delivered () const noexcept |
Public Attributes | |
| std::string | contract = "acquired_artifact_v1" |
| std::uint32_t | format_version = 1 |
| std::string | artifact_id |
| std::string | request_id |
| std::string | door_id |
| transport_operation | operation = transport_operation::point_lookup |
| delivery_mode | delivered_via = delivery_mode::fetched |
| transport_status | status = transport_status::invalid_request |
| std::string | source_url |
| std::string | effective_url |
| std::vector< std::string > | redirect_chain |
| std::vector< http_header > | response_headers |
| long | http_status = 0 |
| std::string | artifact_ref |
| std::string | sha256 |
| std::uint64_t | byte_count = 0 |
| std::size_t | attempts = 0 |
| std::optional< std::chrono::milliseconds > | retry_after |
| std::chrono::system_clock::time_point | started_at {} |
| std::chrono::system_clock::time_point | completed_at {} |
| std::string | error_message |
Raw artifact reference and transport evidence returned to Arachne.
Definition at line 117 of file transport.hpp.
|
inlinenodiscardnoexcept |
Definition at line 140 of file transport.hpp.
References arachne::pheidippides::delivered, and status.
Referenced by anonymous_namespace{main.cpp}::command_fetch(), arachne::pheidippides::hardened_transport::implementation::execute(), and arachne::pheidippides::to_contract().

| std::string arachne::pheidippides::acquired_artifact_v1::artifact_id |
Definition at line 120 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), anonymous_namespace{main.cpp}::command_fetch(), arachne::pheidippides::hardened_transport::implementation::execute(), arachne::pheidippides::transport::execute(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure().
| std::string arachne::pheidippides::acquired_artifact_v1::artifact_ref |
Definition at line 131 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::transport::execute(), arachne::pheidippides::to_contract(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::write_cache_entry().
| std::size_t arachne::pheidippides::acquired_artifact_v1::attempts = 0 |
Definition at line 134 of file transport.hpp.
Referenced by arachne::pheidippides::hardened_transport::implementation::execute(), arachne::pheidippides::transport::execute(), and arachne::pheidippides::to_contract().
| std::uint64_t arachne::pheidippides::acquired_artifact_v1::byte_count = 0 |
Definition at line 133 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::transport::execute(), arachne::pheidippides::to_contract(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::write_cache_entry().
| std::chrono::system_clock::time_point arachne::pheidippides::acquired_artifact_v1::completed_at {} |
Definition at line 137 of file transport.hpp.
| std::string arachne::pheidippides::acquired_artifact_v1::contract = "acquired_artifact_v1" |
Definition at line 118 of file transport.hpp.
| delivery_mode arachne::pheidippides::acquired_artifact_v1::delivered_via = delivery_mode::fetched |
Definition at line 124 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::hardened_transport::implementation::execute(), and arachne::pheidippides::transport::execute().
| std::string arachne::pheidippides::acquired_artifact_v1::door_id |
Definition at line 122 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::hardened_transport::implementation::execute(), arachne::pheidippides::transport::execute(), arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure(), and arachne::pheidippides::to_contract().
| std::string arachne::pheidippides::acquired_artifact_v1::effective_url |
Definition at line 127 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::transport::execute(), arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure(), and arachne::pheidippides::to_contract().
| std::string arachne::pheidippides::acquired_artifact_v1::error_message |
Definition at line 138 of file transport.hpp.
Referenced by anonymous_namespace{main.cpp}::command_fetch(), arachne::pheidippides::transport::execute(), arachne::pheidippides::anonymous_namespace{transport.cpp}::fail_result(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure().
| std::uint32_t arachne::pheidippides::acquired_artifact_v1::format_version = 1 |
Definition at line 119 of file transport.hpp.
| long arachne::pheidippides::acquired_artifact_v1::http_status = 0 |
Definition at line 130 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::hardened_transport::implementation::execute(), arachne::pheidippides::transport::execute(), arachne::pheidippides::to_contract(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::write_cache_entry().
| transport_operation arachne::pheidippides::acquired_artifact_v1::operation = transport_operation::point_lookup |
Definition at line 123 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::hardened_transport::implementation::execute(), arachne::pheidippides::transport::execute(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure().
| std::vector<std::string> arachne::pheidippides::acquired_artifact_v1::redirect_chain |
Definition at line 128 of file transport.hpp.
| std::string arachne::pheidippides::acquired_artifact_v1::request_id |
Definition at line 121 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), anonymous_namespace{main.cpp}::command_fetch(), arachne::pheidippides::hardened_transport::implementation::execute(), arachne::pheidippides::transport::execute(), arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure(), and arachne::pheidippides::to_contract().
| std::vector<http_header> arachne::pheidippides::acquired_artifact_v1::response_headers |
Definition at line 129 of file transport.hpp.
| std::optional<std::chrono::milliseconds> arachne::pheidippides::acquired_artifact_v1::retry_after |
Definition at line 135 of file transport.hpp.
| std::string arachne::pheidippides::acquired_artifact_v1::sha256 |
Definition at line 132 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), arachne::pheidippides::transport::execute(), arachne::pheidippides::to_contract(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::write_cache_entry().
| std::string arachne::pheidippides::acquired_artifact_v1::source_url |
Definition at line 126 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), anonymous_namespace{main.cpp}::command_fetch(), arachne::pheidippides::hardened_transport::implementation::execute(), arachne::pheidippides::transport::execute(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure().
| std::chrono::system_clock::time_point arachne::pheidippides::acquired_artifact_v1::started_at {} |
Definition at line 136 of file transport.hpp.
| transport_status arachne::pheidippides::acquired_artifact_v1::status = transport_status::invalid_request |
Definition at line 125 of file transport.hpp.
Referenced by arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::cached_receipt(), anonymous_namespace{main.cpp}::command_fetch(), delivered(), arachne::pheidippides::transport::execute(), arachne::pheidippides::anonymous_namespace{transport.cpp}::fail_result(), and arachne::pheidippides::anonymous_namespace{hardened_transport.cpp}::policy_failure().