OnionSession(IFunctionCache)
Initialises a new instance of the OnionSession class.
Since, in the case of this constructor, no connection information relating to the onion.net Information Server can be indicated, this information is read out from the configuration file of the application.
The configuration section must be located under onion/client. The OnionClientSectionHandler is used as a handler for the configuration.
Parameter
- cache
Type: Onion.Common.Caching.IFunctionCache
This parameter is an existing cache which can continue to be used for this Client API session.