/// <summary> /// Constructor that specifies the http information. /// </summary> /// <param name="httpInformation">The IHttpInformation object to use for getting the http request information.</param> public TransportSecurity(IHttpInformation httpInformation) : this() { this.HttpInformation = httpInformation; }
/// <summary> /// Default constructor, uses the DefaultHttpInformation for getting http information. /// </summary> public TransportSecurity() { this.MaxCacheAge = new TimeSpan(1, 0, 0, 0); //set the cache to default to a day this.HttpInformation = new DefaultHttpInformation(); }