Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Content.Deleters.WebDeleter Class Reference

Deletes to resources on the Web (i.e. using HTTP or HTTPS). More...

Inheritance diagram for Waher.Content.Deleters.WebDeleter:
Waher.Content.Deleters.DeleterBase Waher.Content.IContentDeleter

Public Member Functions

 WebDeleter ()
 Deletes to resources on the Web (i.e. using HTTP or HTTPS). More...
 
override bool CanDelete (Uri Uri, out Grade Grade)
 If the deleter is able to delete to a resource, given its URI. More...
 
override async 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). More...
 
virtual Task< object > DeleteAsync (Uri Uri, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers)
 Deletes a resource, using a Uniform Resource Identifier (or Locator). More...
 

Properties

override string[] UriSchemes [get]
 Supported URI schemes. More...
 

Detailed Description

Deletes to resources on the Web (i.e. using HTTP or HTTPS).

Definition at line 14 of file WebDeleter.cs.

Constructor & Destructor Documentation

◆ WebDeleter()

Waher.Content.Deleters.WebDeleter.WebDeleter ( )

Deletes to resources on the Web (i.e. using HTTP or HTTPS).

Definition at line 19 of file WebDeleter.cs.

Member Function Documentation

◆ CanDelete()

override bool Waher.Content.Deleters.WebDeleter.CanDelete ( Uri  Uri,
out Grade Grade   
)

If the deleter is able to delete to a resource, given its URI.

Parameters
UriURI
GradeHow well the deleter would be able to delete to a resource given the indicated URI.
Returns
If the deleter can delete to a resource with the indicated URI.

Implements Waher.Content.IContentDeleter.

Definition at line 34 of file WebDeleter.cs.

◆ DeleteAsync() [1/2]

override async Task< object > Waher.Content.Deleters.WebDeleter.DeleteAsync ( Uri  Uri,
X509Certificate  Certificate,
RemoteCertificateEventHandler  RemoteCertificateValidator,
int  TimeoutMs,
params KeyValuePair< string, string >[]  Headers 
)
virtual

Deletes a resource, using a Uniform Resource Identifier (or Locator).

Parameters
UriURI
CertificateOptional client certificate to use in a Mutual TLS session.
RemoteCertificateValidatorOptional validator of remote certificates.
TimeoutMsTimeout, in milliseconds.
HeadersOptional headers. Interpreted in accordance with the corresponding URI scheme.
Returns
Encoded response.

Implements Waher.Content.Deleters.DeleterBase.

Definition at line 58 of file WebDeleter.cs.

◆ DeleteAsync() [2/2]

virtual Task< object > Waher.Content.Deleters.DeleterBase.DeleteAsync ( Uri  Uri,
X509Certificate  Certificate,
RemoteCertificateEventHandler  RemoteCertificateValidator,
params KeyValuePair< string, string >[]  Headers 
)
virtualinherited

Deletes a resource, using a Uniform Resource Identifier (or Locator).

Parameters
UriURI
CertificateOptional client certificate to use in a Mutual TLS session.
RemoteCertificateValidatorOptional validator of remote certificates.
HeadersOptional headers. Interpreted in accordance with the corresponding URI scheme.
Returns
Decoded response.

Implements Waher.Content.IContentDeleter.

Definition at line 45 of file DeleterBase.cs.

Property Documentation

◆ UriSchemes

override string [] Waher.Content.Deleters.WebDeleter.UriSchemes
get

Supported URI schemes.

Implements Waher.Content.IContentDeleter.

Definition at line 26 of file WebDeleter.cs.


The documentation for this class was generated from the following file: