Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IContentDeleter.cs
1using System;
2using System.Collections.Generic;
3using System.Security.Cryptography.X509Certificates;
4using System.Threading.Tasks;
6
7namespace Waher.Content
8{
13 public interface IContentDeleter
14 {
18 string[] UriSchemes
19 {
20 get;
21 }
22
29 bool CanDelete(Uri Uri, out Grade Grade);
30
39 Task<object> DeleteAsync(Uri Uri, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator,
40 params KeyValuePair<string, string>[] Headers);
41
51 Task<object> DeleteAsync(Uri Uri, X509Certificate Certificate,
52 RemoteCertificateEventHandler RemoteCertificateValidator,
53 int TimeoutMs, params KeyValuePair<string, string>[] Headers);
54 }
55}
Basic interface for Internet Content deleters. A class implementing this interface and having a defau...
Task< object > DeleteAsync(Uri Uri, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers)
Deletes a resource, using a Uniform Resource Identifier (or Locator).
string[] UriSchemes
Supported URI schemes.
Task< object > DeleteAsync(Uri Uri, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers)
Deletes a resource, using a Uniform Resource Identifier (or Locator).
bool CanDelete(Uri Uri, out Grade Grade)
If the deleter is able to delete to a resource, given its URI.
delegate void RemoteCertificateEventHandler(object Sender, RemoteCertificateEventArgs e)
Delegate for remote certificate event handlers.
Grade
Grade enumeration
Definition: Grade.cs:7