Qore ConnectionProvider Module Reference
1.7
|
The ConnectionProvider module provides an API for providing pluggable network connections objects to Qore. This module can also be used to provide connection objects and URL strings from identifiers from registered connection providers as well.
To use this module, use "%requires ConnectionProvider"
in your code.
All the public symbols in the module are defined in the ConnectionProvider namespace.
Classes:
Hashdecls:
Functions:
This module uses the "QORE_CONNECTION_PROVIDERS"
environment variable to load connection provider modules. Each connection provider module must provide two public functions with the following signatures:
Connection provider modules declared in the "QORE_CONNECTION_PROVIDERS"
environment variable must be separated by the platform-specific PathSep character as in the following examples:
export QORE_CONNECTION_PROVIDERS=MyConnectionProvider:OtherConnectionProvider
set QORE_CONNECTION_PROVIDERS=MyConnectionProvider;OtherConnectionProvider
$env:QORE_CONNECTION_PROVIDERS="MyConnectionProvider;OtherConnectionProvider"
AbstractConnection::getConstructorInfo()
and AbstractConnection::getConstructorInfoImpl()
methods (issue 3696)"tags"
(issue 3486)