53 "cls": Class::forName(
"FilesystemConnection"),
57 "desc":
"assumes the given encoding if the server does not send a `charset` value",
61 "desc":
"connection timeout to use in milliseconds (default: 45 seconds)",
62 "default_value": 45000,
66 "desc":
"if `True` then HTTP status codes indicating errors will not cause an "
67 "`HTTP-CLIENT-RECEIVE-ERROR` exception to be raised, rather such responses will be "
68 "passed through to the caller like any other response",
69 "default_value":
False,
73 "desc":
"HTTP version to use (`1.0` or `1.1`, defaults to `1.1`)",
74 "default_value":
"1.1",
78 "desc":
"maximum redirects to support",
82 "desc":
"proxy URL to use",
86 "desc":
"if `True` then redirect responses will be passed to the caller instead of processed",
87 "default_value":
False,
91 "desc":
"a path to an X.509 client certificate file in PEM format",
92 "subst_env_vars":
True,
96 "desc":
"the password to the private key given with `ssl_key_path`",
101 "desc":
"a path to a private key file in PEM format for the X.509 client certificate",
102 "subst_env_vars":
True,
106 "desc":
"if `True` then the server's certificate will only be accepted if it's verified",
107 "default_value":
False,
111 "desc":
"transfer timeout to use in milliseconds (default: 45 seconds)",
112 "default_value": 45000,
string desc
connection description
Definition: AbstractConnection.qc.dox.h:39
string url
connection URL (potentially with password info)
Definition: AbstractConnection.qc.dox.h:42
string name
connection name
Definition: AbstractConnection.qc.dox.h:36
abstract base class for connections
Definition: AbstractConnectionWithInfo.qc.dox.h:30
class for HTTP connections; returns Qore::HTTPClient objects
Definition: HttpConnection.qc.dox.h:48
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
const ConnectionScheme
Connection entry info.
Definition: HttpConnection.qc.dox.h:52
constructor(string name, string desc, string url, hash< auto > attributes={}, hash< auto > options={})
creates the HttpConnection object
Qore::HTTPClient getImpl(bool connect=True, *hash< auto > rtopts)
returns an Qore::HTTPClient object
string getType()
returns "http"
const Options
HttpConnection object connection options.
Definition: HttpConnection.qc.dox.h:118
const DefaultOptions
HttpConnection default options.
Definition: HttpConnection.qc.dox.h:121
the ConnectionProvider namespace. All classes used in the ConnectionProvider module should be inside ...
Definition: AbstractConnection.qc.dox.h:26
Connection option information.
Definition: ConnectionSchemeCache.qc.dox.h:38
Connection provider information.
Definition: ConnectionSchemeCache.qc.dox.h:59