#include <string>
#include <fstream>
#include <iomanip>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "lo-sysdep.h"
#include "oct-env.h"
#include "oct-handle.h"
#include "glob-match.h"
#include "url-transfer.h"
#include "defun.h"
#include "error.h"
#include "interpreter.h"
#include "oct-map.h"
#include "oct-refcount.h"
#include "ov-cell.h"
#include "ov-classdef.h"
#include "ovl.h"
#include "pager.h"
#include "unwind-prot.h"
#include "url-handle-manager.h"
Go to the source code of this file.
Functions | |
static void | delete_file (const std::string &file) |
OCTAVE_EXPORT octave_value_list | F__restful_service__ (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Furlread (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Furlwrite (const octave_value_list &args, int nargout) |
|
static |
Definition at line 56 of file urlwrite.cc.
References octave::sys::unlink().
Referenced by Furlwrite().
OCTAVE_EXPORT octave_value_list F__restful_service__ | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 279 of file urlwrite.cc.
References octave::weboptions::ArrayFormat, octave::weboptions::CertificateFilename, octave::weboptions::ContentReader, error(), octave::url_transfer::good(), octave::weboptions::HeaderFields, octave::url_transfer::http_action(), octave::url_transfer::is_valid(), octave::url_transfer::lasterror(), string_vector::numel(), ovl(), octave::weboptions::Password, print_usage(), octave::url_transfer::set_weboptions(), octave::weboptions::Timeout, octave::weboptions::UserAgent, and octave::weboptions::Username.
OCTAVE_EXPORT octave_value_list Furlread | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 225 of file urlwrite.cc.
References error(), octave::url_transfer::good(), octave::url_transfer::http_action(), octave::url_transfer::is_valid(), octave::url_transfer::lasterror(), Array< T >::numel(), ovl(), print_usage(), and retval.
OCTAVE_EXPORT octave_value_list Furlwrite | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 110 of file urlwrite.cc.
References octave::action_container::add_fcn(), delete_file(), octave::action_container::discard(), error(), octave::url_transfer::good(), octave::url_transfer::http_action(), octave::url_transfer::is_valid(), octave::url_transfer::lasterror(), octave::sys::env::make_absolute(), Array< T >::numel(), octave::sys::ofstream(), ovl(), print_usage(), and retval.