OnionSession(IXmlServer, ISession, IFunctionCache)

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.

cache

Type: Onion.Common.Caching.IFunctionCache

This parameter is an existing cache which can continue to be used for this Client API session.