|
std::string_view | jau::io::uri_tk::get_scheme (const std::string_view &uri) noexcept |
| Returns the valid uri-scheme from given uri, which is empty if no valid scheme is included. More...
|
|
bool | jau::io::uri_tk::is_httpx_protocol (const std::string_view &uri) noexcept |
| Returns true if the uri-scheme of given uri matches the http or https protocol, i.e. More...
|
|
bool | jau::io::uri_tk::is_local_file_protocol (const std::string_view &uri) noexcept |
| Returns true if the uri-scheme of given uri matches the local file protocol, i.e. More...
|
|
void | jau::io::print_stats (const std::string &prefix, const uint64_t &out_bytes_total, const jau::fraction_i64 &td) noexcept |
|
bool | jau::io::uri_tk::protocol_supported (const std::string_view &uri) noexcept |
| Returns true if the uri-scheme of given uri matches a supported by libcurl network protocols otherwise false. More...
|
|
uint64_t | jau::io::read_file (const std::string &input_file, secure_vector< uint8_t > &buffer, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous byte input stream reader from given file path using the given StreamConsumerFunc consumer_fn. More...
|
|
uint64_t | jau::io::read_stream (ByteInStream &in, secure_vector< uint8_t > &buffer, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous byte input stream reader using the given StreamConsumerFunc consumer_fn. More...
|
|
uint64_t | jau::io::read_stream (ByteInStream &in, secure_vector< uint8_t > &buffer1, secure_vector< uint8_t > &buffer2, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous double-buffered byte input stream reader using the given StreamConsumerFunc consumer_fn. More...
|
|
std::unique_ptr< std::thread > | jau::io::read_url_stream (const std::string &url, ByteRingbuffer &buffer, jau::io::url_header_sync &header_sync, jau::relaxed_atomic_bool &has_content_length, jau::relaxed_atomic_uint64 &content_length, jau::relaxed_atomic_uint64 &total_read, relaxed_atomic_async_io_result_t &result) noexcept |
| Asynchronous URL read content using the given byte jau::ringbuffer, allowing parallel reading. More...
|
|
uint64_t | jau::io::read_url_stream (const std::string &url, secure_vector< uint8_t > &buffer, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous URL stream reader using the given StreamConsumerFunc consumer_fn. More...
|
|
std::vector< std::string_view > | jau::io::uri_tk::supported_protocols () noexcept |
| Returns a list of supported protocol supported by libcurl network protocols, queried at runtime. More...
|
|