OnionSession(IXmlServer, String, String, 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.

userName

Type: System.String

This parameter is the user to establish the session with the onion.net Information Server. Any queries of this session are executed with the permissions of this user.

password

Type: System.String

This parameter is the password of the user logging onto this session. The password is indicated here in plain text.

options

Type: StatisticOptions

This parameter indicates whether the cache for the Client API session is to be activated in order to generate statistics.