#include "url-transfer.h"
|
| 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) |
|
Definition at line 167 of file url-transfer.h.
◆ url_transfer() [1/4]
octave::url_transfer::url_transfer |
( |
void |
| ) |
|
◆ url_transfer() [2/4]
octave::url_transfer::url_transfer |
( |
const std::string & |
host, |
|
|
const std::string & |
user, |
|
|
const std::string & |
passwd, |
|
|
std::ostream & |
os |
|
) |
| |
◆ url_transfer() [3/4]
octave::url_transfer::url_transfer |
( |
const std::string & |
url, |
|
|
std::ostream & |
os |
|
) |
| |
◆ url_transfer() [4/4]
◆ ~url_transfer()
octave::url_transfer::~url_transfer |
( |
void |
| ) |
|
|
default |
◆ ascii()
void octave::url_transfer::ascii |
( |
void |
| ) |
|
|
inline |
◆ binary()
void octave::url_transfer::binary |
( |
void |
| ) |
|
|
inline |
◆ cookie_jar()
void octave::url_transfer::cookie_jar |
( |
const std::string & |
filename | ) |
|
|
inline |
◆ cwd()
void octave::url_transfer::cwd |
( |
const std::string & |
path | ) |
|
|
inline |
◆ del()
void octave::url_transfer::del |
( |
const std::string & |
file | ) |
|
|
inline |
◆ dir()
void octave::url_transfer::dir |
( |
void |
| ) |
|
|
inline |
◆ form_data_post()
void octave::url_transfer::form_data_post |
( |
const Array< std::string > & |
param | ) |
|
|
inline |
◆ get()
void octave::url_transfer::get |
( |
const std::string & |
file, |
|
|
std::ostream & |
os |
|
) |
| |
|
inline |
◆ get_fileinfo()
void octave::url_transfer::get_fileinfo |
( |
const std::string & |
filename, |
|
|
double & |
filesize, |
|
|
OCTAVE_TIME_T & |
filetime, |
|
|
bool & |
fileisdir |
|
) |
| |
|
inline |
◆ good()
bool octave::url_transfer::good |
( |
void |
| ) |
const |
|
inline |
◆ http_action()
void octave::url_transfer::http_action |
( |
const Array< std::string > & |
param, |
|
|
const std::string & |
action |
|
) |
| |
|
inline |
◆ http_get()
void octave::url_transfer::http_get |
( |
const Array< std::string > & |
param | ) |
|
|
inline |
◆ http_post()
void octave::url_transfer::http_post |
( |
const Array< std::string > & |
param | ) |
|
|
inline |
◆ is_ascii()
bool octave::url_transfer::is_ascii |
( |
void |
| ) |
const |
|
inline |
◆ is_binary()
bool octave::url_transfer::is_binary |
( |
void |
| ) |
const |
|
inline |
◆ is_valid()
bool octave::url_transfer::is_valid |
( |
void |
| ) |
const |
|
inline |
◆ lasterror()
std::string octave::url_transfer::lasterror |
( |
void |
| ) |
const |
|
inline |
◆ list()
◆ mget_directory()
void octave::url_transfer::mget_directory |
( |
const std::string & |
directory, |
|
|
const std::string & |
target |
|
) |
| |
|
inline |
◆ mkdir()
void octave::url_transfer::mkdir |
( |
const std::string & |
path | ) |
|
|
inline |
◆ mput_directory()
string_vector octave::url_transfer::mput_directory |
( |
const std::string & |
base, |
|
|
const std::string & |
directory |
|
) |
| |
|
inline |
◆ operator=()
◆ put()
void octave::url_transfer::put |
( |
const std::string & |
file, |
|
|
std::istream & |
is |
|
) |
| |
|
inline |
◆ pwd()
std::string octave::url_transfer::pwd |
( |
void |
| ) |
|
|
inline |
◆ rename()
void octave::url_transfer::rename |
( |
const std::string & |
oldname, |
|
|
const std::string & |
newname |
|
) |
| |
|
inline |
◆ rmdir()
void octave::url_transfer::rmdir |
( |
const std::string & |
path | ) |
|
|
inline |
◆ set_header_fields()
void octave::url_transfer::set_header_fields |
( |
const Array< std::string > & |
param | ) |
|
|
inline |
◆ set_istream()
std::istream & octave::url_transfer::set_istream |
( |
std::istream & |
is | ) |
|
|
inline |
◆ set_ostream()
std::ostream & octave::url_transfer::set_ostream |
( |
std::ostream & |
os | ) |
|
|
inline |
◆ set_weboptions()
void octave::url_transfer::set_weboptions |
( |
const struct weboptions & |
param | ) |
|
|
inline |
◆ m_rep
The documentation for this class was generated from the following files: