/// <summary>
 /// Initializes a new instance of <seealso cref="HttpConnection"/> using the given config.
 /// </summary>
 /// <param name="config">The config to use when making HTTP requests.</param>
 public HttpConnection(Dictionary<string, string> config)
 {
     this.config = config;
     this.RequestDetails = new RequestDetails();
     this.ResponseDetails = new ResponseDetails();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of <seealso cref="HttpConnection"/> using the given config.
 /// </summary>
 /// <param name="config">The config to use when making HTTP requests.</param>
 public HttpConnection(Dictionary <string, string> config)
 {
     this.config          = config;
     this.RequestDetails  = new RequestDetails();
     this.ResponseDetails = new ResponseDetails();
 }