/// <summary>Creates <see cref="ICouchApi"/> instance from settings.</summary> public static ICouchApi CreateCouchApi([NotNull] this CouchApiSettings settings, HttpMessageHandler handler) { if (settings == null) { throw new ArgumentNullException("settings"); } return(new CouchApi(settings, handler)); }
/// <summary>Creates <see cref="ICouchApi"/> instance from settings.</summary> public static ICouchApi CreateCouchApi([NotNull] this CouchApiSettings settings) { return(CreateCouchApi(settings, null)); }