37 "desc":
"connection timeout in milliseconds",
41 "desc":
"the string encoding for any strings returned or sent",
45 "desc":
"do not decode known content-encodings but rather pass the body through as-is",
49 "desc":
"HTTP status codes indicating errors will not cause an `HTTP-CLIENT-RECEIVE-ERROR` exception "
54 "desc":
"Either `1.0` or `1.1` for the claimed HTTP protocol version compliancy in outgoing message "
59 "desc":
"the HTTP method to use; if not given then `GET` is used for reads, and `POST` is used for "
64 "desc":
"The proxy URL for connecting through a proxy",
68 "desc":
"redirect responses will be passed to the caller instead of followed",
72 "desc":
"the X.509 certificate data in PEM format (string) or in DER format (binary); if this "
73 "option is set, then `ssl_cert_path` is ignored",
77 "desc":
"a path to an X.509 client certificate file in PEM format; if this option is used, then the "
78 "calling context must not be restricted with sandbox restriction `PO_NO_FILESYSTEM` which is "
83 "desc":
"the X.509 private key data in PEM format (string) or in DER format (binary); if this "
84 "option is set, then `ssl_key_path` is ignored",
88 "desc":
"a path to a private key file in PEM format; if this option is used, then the "
89 "calling context must not be restricted with sandbox restriction `PO_NO_FILESYSTEM` which is "
94 "desc":
"the password to the private key given with `ssl_key_path`",
98 "desc":
"the server's certificate will only be accepted if it's verified",
102 "desc":
"I/O timeout in milliseconds",
183 writeFileImpl(
string scheme,
string location, data contents, *hash<auto> opts);
227 HTTPClient
getHttpClient(
string scheme,
string location, *hash<auto> opts, reference<string> path,
bool do_connect = True);
The abstract file location handler class.
Definition: FileLocationHandler.qc.dox.h:53
The class for handling http(s):// locations.
Definition: FileLocationHandlerHttp.qc.dox.h:28
binary getBinaryFileImpl(string scheme, string location, *hash< auto > opts)
Retrieves a binary file from the given location.
hash< string, hash< FileHandlerOptionInfo > > getWriteOptionsImpl()
Gets supported write options.
Qore::StreamReader getStreamReaderImpl(string scheme, string location, *hash< auto > opts)
Returns a stream reader for the file's data at the given location.
writeFileImpl(string scheme, string location, data contents, *hash< auto > opts)
Writes data to a file at the given location.
Qore::AbstractPollOperation getIoPollerForLocationImpl(string scheme, string location, *hash< auto > opts)
Retrieves an I/O poller to retrieve a binary file from the given location.
string getTextFileImpl(string scheme, string location, *hash< auto > opts)
Retrieves a text file from the given location.
HTTPClient getHttpClient(string scheme, string location, *hash< auto > opts, reference< string > path, bool do_connect=True)
Returns an HTTP client for the given location.
const HttpClientLocationOpts
Valid HTTP location options.
Definition: FileLocationHandlerHttp.qc.dox.h:34
hash< string, hash< FileHandlerOptionInfo > > getReadOptionsImpl()
Gets supported read options.
Qore::InputStream getBinaryStreamImpl(string scheme, string location, *hash< auto > opts)
Retrieves a binary file from the given location.
OutputStreamWrapper getOutputStreamImpl(string scheme, string location, *hash< auto > opts)
Returns an output stream for writing data to the given location.
The abstract file location handler class.
Definition: OutputStramWrapper.qc.dox.h:28
Contains all public definitions in the FileLocationHandler module.
Definition: FileLocationHandler.qc.dox.h:26
File handler option info.
Definition: FileLocationHandler.qc.dox.h:28