|
SFML
Simple and Fast Multimedia Library
|
Specialization of FTP response returning a directory. More...
#include <Ftp.hpp>
Public Member Functions | |
| DirectoryResponse (const Response &response) | |
| Default constructor. | |
| const std::filesystem::path & | getDirectory () const |
| Get the directory returned in the response. | |
| Public Member Functions inherited from sf::Ftp::Response | |
| Response (Status code=Status::InvalidResponse, std::string message="") | |
| Default constructor. | |
| bool | isOk () const |
| Check if the status code means a success. | |
| Status | getStatus () const |
| Get the status code of the response. | |
| const std::string & | getMessage () const |
| Get the full message contained in the response. | |
Specialization of FTP response returning a directory.
| sf::Ftp::DirectoryResponse::DirectoryResponse | ( | const Response & | response | ) |
Default constructor.
| response | Source response |
|
nodiscard |
Get the directory returned in the response.