Arachne 1.0
Arachne - the perpetual stitcher of Wikidata entities.
Loading...
Searching...
No Matches
arachne::pheidippides::acquired_artifact_v1 Struct Reference

#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_headerresponse_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

Detailed Description

Raw artifact reference and transport evidence returned to Arachne.

Definition at line 117 of file transport.hpp.

Member Function Documentation

◆ delivered()

bool arachne::pheidippides::acquired_artifact_v1::delivered ( ) const
inlinenodiscardnoexcept

Member Data Documentation

◆ artifact_id

◆ artifact_ref

◆ attempts

std::size_t arachne::pheidippides::acquired_artifact_v1::attempts = 0

◆ byte_count

◆ completed_at

std::chrono::system_clock::time_point arachne::pheidippides::acquired_artifact_v1::completed_at {}

Definition at line 137 of file transport.hpp.

137{};

◆ contract

std::string arachne::pheidippides::acquired_artifact_v1::contract = "acquired_artifact_v1"

Definition at line 118 of file transport.hpp.

◆ delivered_via

◆ door_id

◆ effective_url

◆ error_message

◆ format_version

std::uint32_t arachne::pheidippides::acquired_artifact_v1::format_version = 1

Definition at line 119 of file transport.hpp.

◆ http_status

◆ operation

◆ redirect_chain

std::vector<std::string> arachne::pheidippides::acquired_artifact_v1::redirect_chain

Definition at line 128 of file transport.hpp.

◆ request_id

◆ response_headers

std::vector<http_header> arachne::pheidippides::acquired_artifact_v1::response_headers

Definition at line 129 of file transport.hpp.

◆ retry_after

std::optional<std::chrono::milliseconds> arachne::pheidippides::acquired_artifact_v1::retry_after

Definition at line 135 of file transport.hpp.

◆ sha256

◆ source_url

◆ started_at

std::chrono::system_clock::time_point arachne::pheidippides::acquired_artifact_v1::started_at {}

Definition at line 136 of file transport.hpp.

136{};

◆ status


The documentation for this struct was generated from the following file: