#include "url-transfer.h"
Public Member Functions | |
url_transfer (const std::string &host, const std::string &user, const std::string &passwd, std::ostream &os) | |
url_transfer (const std::string &url, std::ostream &os) | |
url_transfer (const url_transfer &)=default | |
url_transfer (void) | |
~url_transfer (void)=default | |
void | ascii (void) |
void | binary (void) |
void | cookie_jar (const std::string &filename) |
void | cwd (const std::string &path) |
void | del (const std::string &file) |
void | dir (void) |
void | form_data_post (const Array< std::string > ¶m) |
void | get (const std::string &file, std::ostream &os) |
void | get_fileinfo (const std::string &filename, double &filesize, OCTAVE_TIME_T &filetime, bool &fileisdir) |
bool | good (void) const |
void | http_action (const Array< std::string > ¶m, const std::string &action) |
void | http_get (const Array< std::string > ¶m) |
void | http_post (const Array< std::string > ¶m) |
bool | is_ascii (void) const |
bool | is_binary (void) const |
bool | is_valid (void) const |
std::string | lasterror (void) const |
string_vector | list (void) |
void | mget_directory (const std::string &directory, const std::string &target) |
void | mkdir (const std::string &path) |
string_vector | mput_directory (const std::string &base, const std::string &directory) |
url_transfer & | operator= (const url_transfer &)=default |
void | put (const std::string &file, std::istream &is) |
std::string | pwd (void) |
void | rename (const std::string &oldname, const std::string &newname) |
void | rmdir (const std::string &path) |
void | set_header_fields (const Array< std::string > ¶m) |
std::istream & | set_istream (std::istream &is) |
std::ostream & | set_ostream (std::ostream &os) |
void | set_weboptions (const struct weboptions ¶m) |
Private Attributes | |
std::shared_ptr< base_url_transfer > | m_rep |
Definition at line 167 of file url-transfer.h.
url_transfer::url_transfer | ( | void | ) |
Definition at line 921 of file url-transfer.cc.
url_transfer::url_transfer | ( | const std::string & | host, |
const std::string & | user, | ||
const std::string & | passwd, | ||
std::ostream & | os | ||
) |
Definition at line 924 of file url-transfer.cc.
url_transfer::url_transfer | ( | const std::string & | url, |
std::ostream & | os | ||
) |
Definition at line 929 of file url-transfer.cc.
|
default |
|
default |
|
inline |
|
inline |
|
inline |
Definition at line 273 of file url-transfer.h.
References m_rep.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 283 of file url-transfer.h.
References m_rep.
|
inline |
|
inline |
Definition at line 249 of file url-transfer.h.
References m_rep.
Referenced by F__ftp_dir__(), and F__ftp_mget__().
|
inline |
Definition at line 188 of file url-transfer.h.
References m_rep.
Referenced by F__ftp_mget__(), F__ftp_mput__(), F__restful_service__(), Furlread(), Furlwrite(), and news_reader::process().
|
inline |
Definition at line 267 of file url-transfer.h.
References m_rep.
Referenced by F__restful_service__(), Furlread(), and Furlwrite().
|
inline |
Definition at line 257 of file url-transfer.h.
References m_rep.
Referenced by news_reader::process().
|
inline |
Definition at line 262 of file url-transfer.h.
References m_rep.
|
inline |
|
inline |
Definition at line 208 of file url-transfer.h.
References m_rep.
|
inline |
Definition at line 186 of file url-transfer.h.
References m_rep.
Referenced by F__ftp_ascii__(), F__ftp_binary__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mode__(), F__ftp_mput__(), F__ftp_pwd__(), F__ftp_rename__(), F__ftp_rmdir__(), F__restful_service__(), Furlread(), Furlwrite(), url_handle_manager::make_url_handle(), and news_reader::process().
|
inline |
Definition at line 190 of file url-transfer.h.
References m_rep.
Referenced by F__ftp_mget__(), F__ftp_mput__(), F__restful_service__(), Furlread(), and Furlwrite().
|
inline |
Definition at line 247 of file url-transfer.h.
References m_rep.
Referenced by F__ftp_dir__(), and F__ftp_mget__().
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 278 of file url-transfer.h.
References m_rep.
|
inline |
Definition at line 197 of file url-transfer.h.
References m_rep.
|
inline |
Definition at line 192 of file url-transfer.h.
References m_rep.
|
inline |
Definition at line 288 of file url-transfer.h.
References m_rep.
Referenced by F__restful_service__().
|
private |
Definition at line 295 of file url-transfer.h.
Referenced by ascii(), binary(), cookie_jar(), cwd(), del(), dir(), form_data_post(), get(), get_fileinfo(), good(), http_action(), http_get(), http_post(), is_ascii(), is_binary(), is_valid(), lasterror(), list(), mget_directory(), mkdir(), mput_directory(), put(), pwd(), rename(), rmdir(), set_header_fields(), set_istream(), set_ostream(), and set_weboptions().