OnionSession(IXmlServer, ISession)

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.