public virtual Task <string> PostAsync(string relativeUrl, string s) { Console.WriteLine("Posting Async {0}", s); return(conn.PostAsync(relativeUrl, s)); }
public Task <string> ExecuteAsync(ISolrConnection connection) { string xml = GetCommitXml(); return(connection.PostAsync("/update", xml)); }
public Task <string> PostAsync(string relativeUrl, string s) { return(conn.PostAsync(relativeUrl, s)); }
public Task <string> ExecuteAsync(ISolrConnection connection) { return(connection.PostAsync("/update", "<rollback/>")); }
/// <inheritdoc /> public Task <string> ExecuteAsync(ISolrConnection connection) { var xml = ConvertToXml(); return(connection.PostAsync("/update", xml)); }
public async Task <string> PostAsync(string relativeUrl, string s) { Log($"{nameof(relativeUrl)}={relativeUrl}, {nameof(s)}={s}"); return(await _connection.PostAsync(relativeUrl, s)); }