A read-only HTTP UTF-8 resource which is read as UTF-32 characters. More...
#include <HttpUtf8To32ReadResource.hpp>
Public Member Functions | |
HttpUtf8To32ReadResource (const Http &url_) | |
Create a new HTTP UTF-8 to UTF-32 read resource from the supplied HTTP URI. More... | |
void | close () override |
Close the stream(s) in the resource. More... | |
std::u32istream & | readStream () override |
Get the input stream of the UTF-8 to UTF-32 read resource. More... | |
const Uri & | uri () const override |
Get the URI associated with this resource. More... | |
Public Member Functions inherited from Resource | |
virtual | ~Resource ()=default |
Destroy the resource instance. More... | |
A read-only HTTP UTF-8 resource which is read as UTF-32 characters.
|
explicit |
Create a new HTTP UTF-8 to UTF-32 read resource from the supplied HTTP URI.
InvalidUriException | if no host information was provided |
|
inlineoverridevirtual |
Close the stream(s) in the resource.
Implements Resource.
|
inlineoverridevirtual |
Get the input stream of the UTF-8 to UTF-32 read resource.
Implements Utf8To32ReadResource.
|
overridevirtual |
Get the URI associated with this resource.
Implements Resource.