OnionSession(IXmlServer, ISession, StatisticOptions)
Initialises a new instance of the OnionSession class.
Parameter
- contentServer
Type: Onion.Server.IXmlServer
This parameter represents an implementation of a content server.
A content server can be a simplified server for carrying out tests for example.
- session
Type: Onion.Server.ISession
This parameter is a valid server session, with which the connection to the indicated server can be made.
- options
Type: StatisticOptions
This parameter indicates whether the cache for the Client API session is to be activated in order to generate statistics.