A read-only HTTP resource which is read as bytes. More...
#include <HttpsByteReadResource.hpp>
Public Member Functions | |
HttpsByteReadResource (const Https &url) | |
Create a new HTTPS byte read resource from the supplied HTTPS URI. More... | |
void | close () override |
Close the stream(s) in the resource. More... | |
std::istream & | readStream () override |
Get the input stream of the byte 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 resource which is read as bytes.
|
explicit |
Create a new HTTPS byte read resource from the supplied HTTPS 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 byte read resource.
Implements ByteReadResource.
|
overridevirtual |
Get the URI associated with this resource.
Implements Resource.