Example #1
0
 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));
        }
Example #3
0
 public Task <string> PostAsync(string relativeUrl, string s)
 {
     return(conn.PostAsync(relativeUrl, s));
 }
 public Task <string> ExecuteAsync(ISolrConnection connection)
 {
     return(connection.PostAsync("/update", "<rollback/>"));
 }
Example #5
0
        /// <inheritdoc />
        public Task <string> ExecuteAsync(ISolrConnection connection)
        {
            var xml = ConvertToXml();

            return(connection.PostAsync("/update", xml));
        }
Example #6
0
 public async Task <string> PostAsync(string relativeUrl, string s)
 {
     Log($"{nameof(relativeUrl)}={relativeUrl}, {nameof(s)}={s}");
     return(await _connection.PostAsync(relativeUrl, s));
 }