2using System.Collections.Generic;
3using System.Security.Cryptography.X509Certificates;
4using System.Threading.Tasks;
40 Task<object>
PostAsync(Uri Uri,
object Data, X509Certificate Certificate,
42 params KeyValuePair<string, string>[] Headers);
54 Task<object>
PostAsync(Uri Uri,
object Data, X509Certificate Certificate,
56 int TimeoutMs, params KeyValuePair<string, string>[] Headers);
68 Task<KeyValuePair<byte[], string>>
PostAsync(Uri Uri,
byte[] EncodedData,
69 string ContentType, X509Certificate Certificate,
71 params KeyValuePair<string, string>[] Headers);
84 Task<KeyValuePair<byte[], string>>
PostAsync(Uri Uri,
byte[] EncodedData,
85 string ContentType, X509Certificate Certificate,
87 int TimeoutMs, params KeyValuePair<string, string>[] Headers);
Basic interface for Internet Content posters. A class implementing this interface and having a defaul...
string[] UriSchemes
Supported URI schemes.
Task< object > PostAsync(Uri Uri, object Data, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers)
Posts to a resource, using a Uniform Resource Identifier (or Locator).
bool CanPost(Uri Uri, out Grade Grade)
If the poster is able to post to a resource, given its URI.
Task< object > PostAsync(Uri Uri, object Data, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers)
Posts to a resource, using a Uniform Resource Identifier (or Locator).
Task< KeyValuePair< byte[], string > > PostAsync(Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers)
Posts to a resource, using a Uniform Resource Identifier (or Locator).
Task< KeyValuePair< byte[], string > > PostAsync(Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, RemoteCertificateEventHandler RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers)
Posts to a resource, using a Uniform Resource Identifier (or Locator).
delegate void RemoteCertificateEventHandler(object Sender, RemoteCertificateEventArgs e)
Delegate for remote certificate event handlers.