/// <summary> /// Gets a new request at the specified URL. /// </summary> /// <param name="uri">The URI we're making a request to (this client takes care of .internal itself).</param> /// <param name="settings">(Optional) The specific <see cref="HttpSettings"/> to use for this request.</param> /// <param name="callerName">The caller member name, auto-populated by the compiler for debugging info.</param> /// <param name="callerFile">The caller file path, auto-populated by the compiler for debugging info.</param> /// <param name="callerLine">The caller file line number, auto-populated by the compiler for debugging info.</param> /// <returns>A chaining builder for your request.</returns> public static IRequestBuilder Request( string uri, HttpSettings settings = null, [CallerMemberName] string callerName = null, [CallerFilePath] string callerFile = null, [CallerLineNumber] int callerLine = 0) => new HttpBuilder(uri, settings, callerName, callerFile, callerLine);
/// <summary> /// Creates a new <see cref="DefaultHttpClientPool"/> based on the settings. /// </summary> /// <param name="settings">The settings to based this pool on.</param> public DefaultHttpClientPool(HttpSettings settings) => Settings = settings;