HttpServerConnection Properties |
The HttpServerConnection type exposes the following members.
Name | Description | |
---|---|---|
![]() | AutoReloginOnSessionError |
Gets or sets flag for automatic relogin on session timeout.
The default value is false.
|
![]() ![]() | Compression |
Property specifies the way of compression of AML sent through IOM.HttpServerConnection.
Value from enumeration 'CompressionType' (namespace Aras.Common.Compression) can be set. Available values are:
XML <configuration> <appSettings> <add key="CompressionType" value="gzip"/> </appSettings > </configuration> ![]() ... HttpServerConnection connection = CreateHttpServerConnection("innovatorServerUrl"); connaction.Compression = GetCompressionTypeFromAppConfig(); ... private CompressionType GetCompressionTypeFromAppConfig() { string value = ConfigurationManager.AppSettings["CompressionType"]; if (String.IsNullOrEmpty(value)) { return CompressionType.none; } else { return (CompressionType)Enum.Parse(typeof(CompressionType), value); } } |
![]() | ReadWriteTimeout |
Gets or sets a time-out in milliseconds when writing to or reading from a
stream.
|
![]() | Timeout |
Gets or sets the time-out value in milliseconds for the System.Net.HttpWebRequest.GetResponse()
and System.Net.HttpWebRequest.GetRequestStream() methods.
|