|
jaulib v1.4.0-2-g788cf73
Jau Support Library (C++, Java, ..)
|
Synchronized URL header response completion as used by asynchronous read_url_stream(). More...
#include <io_util.hpp>
Public Member Functions | |
| url_header_resp () noexcept | |
| bool | completed () const noexcept |
| Returns whether URL header is completed. | |
| void | notify_complete (const int32_t response_code=200) noexcept |
| Notify completion, see completed() | |
| int32_t | response_code () const noexcept |
| bool | wait_until_completion (const jau::fraction_i64 &timeout) noexcept |
| Wait until completed() has been reached. | |
Synchronized URL header response completion as used by asynchronous read_url_stream().
Definition at line 177 of file io_util.hpp.
|
inlinenoexcept |
Definition at line 185 of file io_util.hpp.
|
inlinenoexcept |
Returns whether URL header is completed.
Completion is reached in any of the following cases
Definition at line 198 of file io_util.hpp.
|
inlinenoexcept |
|
noexcept |
Notify completion, see completed()
Definition at line 451 of file io_util.cpp.
|
noexcept |
Wait until completed() has been reached.
| timeout | maximum duration in fractions of seconds to wait, where fractions_i64::zero waits infinitely |
Definition at line 460 of file io_util.cpp.