Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileGetRequestDataType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
2
25namespace FileDataProvider {
27class FileGetRequestDataType : public HashDataType {
28
29public:
30protected:
32 const Fields = {
33 "encoding": {
34 "type": StringType,
35 "desc": "The string encoding to use if `text` = `True` (default: `UTF-8`)",
36 "default_value": "UTF-8",
37 },
38 "max_len": {
39 "type": IntType,
40 "desc": "The maximum length of the data returned in bytes",
41 "default_value": -1,
42 },
43 "path": {
44 "type": StringType,
45 "desc": "The path to the file",
46 },
47 "text": {
48 "type": BoolType,
49 "desc": "If `True` the file will be returned as a string, `False` (the default) as binary data",
50 "default_value": False,
51 },
52 };
53
54public:
55
58
59};
60};
Data type for FILE get file request calls.
Definition: FileGetRequestDataType.qc.dox.h:27
const Fields
Field descriptions.
Definition: FileGetRequestDataType.qc.dox.h:32
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26