Loading...
Searching...
No Matches
FileGetRequestDataType.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace FileDataProvider {
class FileGetRequestDataType : public HashDataType {
public:
protected:
const Fields = {
"encoding": {
"type": StringType,
"desc": "The string encoding to use if `text` = `True` (default: `UTF-8`)",
"default_value": "UTF-8",
},
"max_len": {
"type": IntType,
"desc": "The maximum length of the data returned in bytes",
"default_value": -1,
},
"path": {
"type": StringType,
"desc": "The path to the file",
},
"text": {
"type": BoolType,
"desc": "If `True` the file will be returned as a string, `False` (the default) as binary data",
"default_value": False,
},
};
public:
constructor();
};
};
FileDataProvider::FileGetRequestDataType
Data type for FILE get file request calls.
Definition: FileGetRequestDataType.qc.dox.h:27
FileDataProvider::FileGetRequestDataType::Fields
const Fields
Field descriptions.
Definition: FileGetRequestDataType.qc.dox.h:32
FileDataProvider::FileGetRequestDataType::constructor
constructor()
Creates the object.
FileDataProvider
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26