Exemplo n.º 1
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();
 }
Exemplo n.º 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();
 }