![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Static class managing encoding and decoding of internet content. More...
Static Public Member Functions | |
| static void | SetDefaultTimeout (int Timeout, bool Lock) |
| Sets the default timeout of internet access methods, in milliseconds. More... | |
| static bool | Encodes (object Object, out Grade Grade, out IContentEncoder Encoder, params string[] AcceptedContentTypes) |
| If a given object can be encoded. More... | |
| static ContentResponse | Encode (object Object, Encoding Encoding, params string[] AcceptedContentTypes) |
| Encodes an object. More... | |
| static Task< ContentResponse > | EncodeAsync (object Object, Encoding Encoding, params string[] AcceptedContentTypes) |
| Encodes an object. More... | |
| static Task< ContentResponse > | EncodeAsync (object Object, Encoding Encoding, ICodecProgress Progress, params string[] AcceptedContentTypes) |
| Encodes an object. More... | |
| static bool | IsAccepted (string ContentType, params string[] AcceptedContentTypes) |
| Checks if a given content type is acceptable. More... | |
| static bool | IsAccepted (string[] ContentTypes, params string[] AcceptedContentTypes) |
| Checks if at least one content type in a set of content types is acceptable. More... | |
| static bool | IsAccepted (string[] ContentTypes, out string ContentType, params string[] AcceptedContentTypes) |
| Checks if at least one content type in a set of content types is acceptable. More... | |
| static bool | Decodes (string ContentType, out Grade Grade, out IContentDecoder Decoder) |
| If an object with a given content type can be decoded. More... | |
| static ContentResponse | Decode (string ContentType, byte[] Data, Encoding Encoding, KeyValuePair< string, string >[] Fields, Uri BaseUri) |
| Decodes an object. More... | |
| static Task< ContentResponse > | DecodeAsync (string ContentType, byte[] Data, Encoding Encoding, KeyValuePair< string, string >[] Fields, Uri BaseUri) |
| Decodes an object. More... | |
| static Task< ContentResponse > | DecodeAsync (string ContentType, byte[] Data, Encoding Encoding, KeyValuePair< string, string >[] Fields, Uri BaseUri, ICodecProgress Progress) |
| Decodes an object. More... | |
| static ContentResponse | Decode (string ContentType, byte[] Data, Uri BaseUri) |
| Decodes an object. More... | |
| static Task< ContentResponse > | DecodeAsync (string ContentType, byte[] Data, Uri BaseUri) |
| Decodes an object. More... | |
| static Task< ContentResponse > | DecodeAsync (string ContentType, byte[] Data, Uri BaseUri, ICodecProgress Progress) |
| Decodes an object. More... | |
| static bool | ParseContentType (ref string ContentType, out Encoding Encoding, out KeyValuePair< string, string >[] Fields) |
| Parses a Content-Type, providing the base Content-Type, character encoding, if any, and other field parameters available. More... | |
| static Encoding | GetEncoding (string CharacterSet) |
| Gets a character encoding from its name. More... | |
| static string | GetContentType (string FileExtension) |
| Gets the content type of an item, given its file extension. It uses the TryGetContentType to see if any of the content encoders/decoders support content with the corresponding file type. If no such encoder/decoder is found, the generic application/octet-stream type is returned. More... | |
| static bool | TryGetContentType (string FileExtension, out string ContentType) |
| Tries to get the content type of an item, given its file extension. More... | |
| static string | GetFileExtension (string ContentType) |
| Gets the file extension of an item, given its content type. It uses the TryGetFileExtension to see if any of the content encoders/decoders support content with the corresponding content type. If no such encoder/decoder is found, the generic bin extension is returned. More... | |
| static bool | TryGetFileExtension (string ContentType, out string FileExtension) |
| Tries to get the file extension of an item, given its content type. More... | |
| static bool | CanConvert (string FromContentType, string ToContentType, out IContentConverter Converter) |
| Checks if it is possible to convert content from one type to another. More... | |
| static IContentConverter[] | GetConverters (string FromContentType) |
| Gets available converters that can convert content from a given type. More... | |
| static bool | CanGet (Uri Uri, out Grade Grade, out IContentGetter Getter) |
| If a resource can be gotten, given its URI. More... | |
| static Task< ContentResponse > | GetAsync (Uri Uri, params KeyValuePair< string, string >[] Headers) |
| Gets a resource, given its URI. More... | |
| static Task< ContentResponse > | GetAsync (Uri Uri, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Gets a resource, given its URI. More... | |
| static Task< ContentResponse > | GetAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Gets a resource, given its URI. More... | |
| static Task< ContentResponse > | GetAsync (Uri Uri, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Gets a resource, given its URI. More... | |
| static Task< ContentResponse > | GetAsync (Uri Uri, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Gets a resource, given its URI. More... | |
| static Task< ContentResponse > | GetAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Gets a resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, TemporaryStream Destination, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, TemporaryStream Destination, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, TemporaryStream Destination, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, int TimeoutMs, TemporaryStream Destination, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, int TimeoutMs, TemporaryStream Destination, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static Task< ContentStreamResponse > | GetTempStreamAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, TemporaryStream Destination, params KeyValuePair< string, string >[] Headers) |
| Gets a (possibly big) resource, given its URI. More... | |
| static bool | CanPost (Uri Uri, out Grade Grade, out IContentPoster Poster) |
| If a resource can be posted to, given its URI. More... | |
| static Task< ContentResponse > | PostAsync (Uri Uri, object Data, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PostAsync (Uri Uri, object Data, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PostAsync (Uri Uri, object Data, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PostAsync (Uri Uri, object Data, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PostAsync (Uri Uri, object Data, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PostAsync (Uri Uri, object Data, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PostAsync (Uri Uri, byte[] EncodedData, string ContentType, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PostAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PostAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PostAsync (Uri Uri, byte[] EncodedData, string ContentType, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PostAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PostAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Posts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static bool | CanPut (Uri Uri, out Grade Grade, out IContentPutter Putter) |
| If a resource can be put to, given its URI. More... | |
| static Task< ContentResponse > | PutAsync (Uri Uri, object Data, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PutAsync (Uri Uri, object Data, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PutAsync (Uri Uri, object Data, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PutAsync (Uri Uri, object Data, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PutAsync (Uri Uri, object Data, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | PutAsync (Uri Uri, object Data, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PutAsync (Uri Uri, byte[] EncodedData, string ContentType, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PutAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PutAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PutAsync (Uri Uri, byte[] EncodedData, string ContentType, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PutAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | PutAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Puts to a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static bool | CanDelete (Uri Uri, out Grade Grade, out IContentDeleter Deleter) |
| If a resource can be deleted to, given its URI. More... | |
| static Task< ContentResponse > | DeleteAsync (Uri Uri, params KeyValuePair< string, string >[] Headers) |
| Deletes a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | DeleteAsync (Uri Uri, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Deletes a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | DeleteAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Deletes a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | DeleteAsync (Uri Uri, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Deletes a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | DeleteAsync (Uri Uri, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Deletes a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | DeleteAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Deletes a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static bool | CanHead (Uri Uri, out Grade Grade, out IContentHeader Header) |
| If the headers of a resource can be gotten, given its URI. More... | |
| static Task< ContentResponse > | HeadAsync (Uri Uri, params KeyValuePair< string, string >[] Headers) |
| Heads a resource, given its URI. More... | |
| static Task< ContentResponse > | HeadAsync (Uri Uri, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Heads a resource, given its URI. More... | |
| static Task< ContentResponse > | HeadAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Heads a resource, given its URI. More... | |
| static Task< ContentResponse > | HeadAsync (Uri Uri, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Heads a resource, given its URI. More... | |
| static Task< ContentResponse > | HeadAsync (Uri Uri, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Heads a resource, given its URI. More... | |
| static Task< ContentResponse > | HeadAsync (Uri Uri, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Heads a resource, given its URI. More... | |
| static bool | CanQuery (Uri Uri, out Grade Grade, out IContentQuery Query) |
| If a resource can be queried, given its URI. More... | |
| static Task< ContentResponse > | QueryAsync (Uri Uri, object Data, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | QueryAsync (Uri Uri, object Data, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | QueryAsync (Uri Uri, object Data, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | QueryAsync (Uri Uri, object Data, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | QueryAsync (Uri Uri, object Data, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentResponse > | QueryAsync (Uri Uri, object Data, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | QueryAsync (Uri Uri, byte[] EncodedData, string ContentType, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | QueryAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | QueryAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | QueryAsync (Uri Uri, byte[] EncodedData, string ContentType, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | QueryAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static Task< ContentBinaryResponse > | QueryAsync (Uri Uri, byte[] EncodedData, string ContentType, X509Certificate Certificate, EventHandler< RemoteCertificateEventArgs > RemoteCertificateValidator, int TimeoutMs, params KeyValuePair< string, string >[] Headers) |
| Queries a resource, using a Uniform Resource Identifier (or Locator). More... | |
| static bool | IsLocalDomain (string DomainOrHost, bool IncludeAlternativeDomains) |
| Checks if a domain or nost name is local. More... | |
Static Public Attributes | |
| static readonly Encoding | ISO_8859_1 = Encoding.GetEncoding("ISO-8859-1") |
| ISO-8859-1 character encoding. More... | |
Properties | |
| static int | DefaultTimeout [get] |
| Default timeout of internet access methods, in milliseconds. More... | |
| static string[] | CanEncodeContentTypes [get] |
| Internet content types that can be encoded. More... | |
| static string[] | CanEncodeFileExtensions [get] |
| File extensions that can be encoded. More... | |
| static IContentEncoder[] | Encoders [get] |
| Available Internet Content Encoders. More... | |
| static string[] | CanDecodeContentTypes [get] |
| Internet content types that can be decoded. More... | |
| static string[] | CanDecodeFileExtensions [get] |
| File extensions that can be decoded. More... | |
| static IContentDecoder[] | Decoders [get] |
| Available Internet Content Decoders. More... | |
| static IContentConverter[] | Converters [get] |
| Available Internet Content Converters. More... | |
| static string[] | CanGetUriSchemes [get] |
| Internet URI Schemes that can be gotten. More... | |
| static IContentGetter[] | Getters [get] |
| Available Internet Content Getters. More... | |
| static string[] | CanPostToUriSchemes [get] |
| Internet URI Schemes that can be posted to. More... | |
| static IContentPoster[] | Posters [get] |
| Available Internet Content Posters. More... | |
| static string[] | CanPutToUriSchemes [get] |
| Internet URI Schemes that can be put to. More... | |
| static IContentPutter[] | Putters [get] |
| Available Internet Content Putters. More... | |
| static string[] | CanDeleteToUriSchemes [get] |
| Internet URI Schemes that can be deleted to. More... | |
| static IContentDeleter[] | Deleters [get] |
| Available Internet Content Deleters. More... | |
| static string[] | CanHeadUriSchemes [get] |
| Internet URI Schemes where it is possible to get headers. More... | |
| static IContentHeader[] | Headers [get] |
| Available Internet Content Header-retrievers. More... | |
| static string[] | CanQueryToUriSchemes [get] |
| Internet URI Schemes that can be queried. More... | |
| static IContentQuery[] | Queries [get] |
| Available Internet Content Queries. More... | |
Events | |
| static EventHandler< LocalDomainEventArgs > | LocalDomainCheck = null |
| Event raised when a local domain is to be checked. More... | |
Static class managing encoding and decoding of internet content.
Definition at line 18 of file InternetContent.cs.
|
static |
Checks if it is possible to convert content from one type to another.
A shortest path algorithm maximizing conversion quality and shortening conversion distance is used to find sequences of converters, if a direct conversion is not possible.
| FromContentType | Existing content type. |
| ToContentType | Desired content type. |
| Converter | Converter that transforms content from type FromContentType to type ToContentType . |
Definition at line 913 of file InternetContent.cs.
|
static |
If a resource can be deleted to, given its URI.
| Uri | URI of resource. |
| Grade | How well the deleted can delete to the resource. |
| Deleter | Best deleter for the URI. |
Definition at line 2238 of file InternetContent.cs.
|
static |
If a resource can be gotten, given its URI.
| Uri | URI of resource. |
| Grade | How well the getter can get the resource. |
| Getter | Best getter for the URI. |
Definition at line 1202 of file InternetContent.cs.
|
static |
If the headers of a resource can be gotten, given its URI.
| Uri | URI of resource. |
| Grade | How well the headers of the resource can be retrieved. |
| Header | Best header-retriever for the URI. |
Definition at line 2458 of file InternetContent.cs.
|
static |
If a resource can be posted to, given its URI.
| Uri | URI of resource. |
| Grade | How well the posted can post to the resource. |
| Poster | Best poster for the URI. |
Definition at line 1595 of file InternetContent.cs.
|
static |
If a resource can be put to, given its URI.
| Uri | URI of resource. |
| Grade | How well the putted can put to the resource. |
| Putter | Best putter for the URI. |
Definition at line 1918 of file InternetContent.cs.
|
static |
If a resource can be queried, given its URI.
| Uri | URI of resource. |
| Grade | How well the queried can query to the resource. |
| Query | Best queryter for the URI. |
Definition at line 2677 of file InternetContent.cs.
|
static |
Decodes an object.
| ContentType | Internet Content Type. |
| Data | Encoded object. |
| Encoding | Any encoding specified. Can be null if no encoding specified. |
| Fields | Any content-type related fields and their corresponding values. |
| BaseUri | Base URI, if any. If not available, value is null. |
Definition at line 585 of file InternetContent.cs.
|
static |
Decodes an object.
| ContentType | Internet Content Type. |
| Data | Encoded object. |
| BaseUri | Base URI, if any. If not available, value is null. |
Definition at line 644 of file InternetContent.cs.
|
static |
Decodes an object.
| ContentType | Internet Content Type. |
| Data | Encoded object. |
| Encoding | Any encoding specified. Can be null if no encoding specified. |
| Fields | Any content-type related fields and their corresponding values. |
| BaseUri | Base URI, if any. If not available, value is null. |
Definition at line 599 of file InternetContent.cs.
|
static |
Decodes an object.
| ContentType | Internet Content Type. |
| Data | Encoded object. |
| Encoding | Any encoding specified. Can be null if no encoding specified. |
| Fields | Any content-type related fields and their corresponding values. |
| BaseUri | Base URI, if any. If not available, value is null. |
| Progress | Optional progress reporting of encoding/decoding. Can be null. |
Definition at line 614 of file InternetContent.cs.
|
static |
Decodes an object.
| ContentType | Internet Content Type. |
| Data | Encoded object. |
| BaseUri | Base URI, if any. If not available, value is null. |
Definition at line 656 of file InternetContent.cs.
|
static |
Decodes an object.
| ContentType | Internet Content Type. |
| Data | Encoded object. |
| BaseUri | Base URI, if any. If not available, value is null. |
| Progress | Optional progress reporting of encoding/decoding. Can be null. |
Definition at line 669 of file InternetContent.cs.
|
static |
If an object with a given content type can be decoded.
| ContentType | Content type to decode. |
| Grade | How well the decoder decodes the object. |
| Decoder | Best decoder for the object. |
Definition at line 542 of file InternetContent.cs.
|
static |
Deletes a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2324 of file InternetContent.cs.
|
static |
Deletes a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2283 of file InternetContent.cs.
|
static |
Deletes a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2351 of file InternetContent.cs.
|
static |
Deletes a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2308 of file InternetContent.cs.
|
static |
Deletes a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2337 of file InternetContent.cs.
|
static |
Deletes a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2295 of file InternetContent.cs.
|
static |
Encodes an object.
| Object | Object to encode. |
| Encoding | Desired encoding of text. Can be null if no desired encoding is speified. |
| AcceptedContentTypes | Optional array of accepted content types. If array is empty, all content types are accepted. |
Definition at line 349 of file InternetContent.cs.
|
static |
Encodes an object.
| Object | Object to encode. |
| Encoding | Desired encoding of text. Can be null if no desired encoding is speified. |
| Progress | Optional progress reporting of encoding/decoding. Can be null. |
| AcceptedContentTypes | Optional array of accepted content types. If array is empty, all content types are accepted. |
Definition at line 374 of file InternetContent.cs.
|
static |
Encodes an object.
| Object | Object to encode. |
| Encoding | Desired encoding of text. Can be null if no desired encoding is speified. |
| AcceptedContentTypes | Optional array of accepted content types. If array is empty, all content types are accepted. |
Definition at line 361 of file InternetContent.cs.
|
static |
If a given object can be encoded.
| Object | Object to encode. |
| Grade | How well the object can be encoded. |
| Encoder | Best encoder for the object. |
| AcceptedContentTypes | Optional array of accepted content types. If array is empty, all content types are accepted. |
Definition at line 264 of file InternetContent.cs.
|
static |
Gets a resource, given its URI.
| Uri | Uniform resource identifier. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1288 of file InternetContent.cs.
|
static |
Gets a resource, given its URI.
| Uri | Uniform resource identifier. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1247 of file InternetContent.cs.
|
static |
Gets a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1315 of file InternetContent.cs.
|
static |
Gets a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1272 of file InternetContent.cs.
|
static |
Gets a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1301 of file InternetContent.cs.
|
static |
Gets a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1259 of file InternetContent.cs.
|
static |
Gets the content type of an item, given its file extension. It uses the TryGetContentType to see if any of the content encoders/decoders support content with the corresponding file type. If no such encoder/decoder is found, the generic application/octet-stream type is returned.
| FileExtension | File extension. |
Definition at line 768 of file InternetContent.cs.
|
static |
Gets available converters that can convert content from a given type.
| FromContentType | From which content type converters have to convert. |
Definition at line 1091 of file InternetContent.cs.
|
static |
Gets a character encoding from its name.
| CharacterSet | Name of character set. |
Definition at line 722 of file InternetContent.cs.
|
static |
Gets the file extension of an item, given its content type. It uses the TryGetFileExtension to see if any of the content encoders/decoders support content with the corresponding content type. If no such encoder/decoder is found, the generic bin extension is returned.
| ContentType | File Content-Type. |
Definition at line 830 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1414 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Destination | Optional destination. Content will be output to this stream. If not provided, a new temporary stream will be created. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1427 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1330 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Destination | Optional destination. Content will be output to this stream. If not provided, a new temporary stream will be created. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1342 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1469 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Destination | Optional destination. Content will be output to this stream. If not provided, a new temporary stream will be created. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1488 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1380 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Destination | Optional destination. Content will be output to this stream. If not provided, a new temporary stream will be created. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1398 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1440 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Destination | Optional destination. Content will be output to this stream. If not provided, a new temporary stream will be created. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1454 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1354 of file InternetContent.cs.
|
static |
Gets a (possibly big) resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Destination | Optional destination. Content will be output to this stream. If not provided, a new temporary stream will be created. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1367 of file InternetContent.cs.
|
static |
Heads a resource, given its URI.
| Uri | Uniform resource identifier. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2544 of file InternetContent.cs.
|
static |
Heads a resource, given its URI.
| Uri | Uniform resource identifier. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2503 of file InternetContent.cs.
|
static |
Heads a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2571 of file InternetContent.cs.
|
static |
Heads a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2528 of file InternetContent.cs.
|
static |
Heads a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2557 of file InternetContent.cs.
|
static |
Heads a resource, given its URI.
| Uri | Uniform resource identifier. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2515 of file InternetContent.cs.
|
static |
Checks if a given content type is acceptable.
| ContentType | Content type. |
| AcceptedContentTypes | Optional array of accepted content types. If array is empty, all content types are accepted. |
Definition at line 388 of file InternetContent.cs.
|
static |
Checks if at least one content type in a set of content types is acceptable.
| ContentTypes | Content types. |
| ContentType | Content type selected as the first acceptable content type. |
| AcceptedContentTypes | Optional array of accepted content types. If array is empty, all content types are accepted. |
Definition at line 412 of file InternetContent.cs.
|
static |
Checks if at least one content type in a set of content types is acceptable.
| ContentTypes | Content types. |
| AcceptedContentTypes | Optional array of accepted content types. If array is empty, all content types are accepted. |
Definition at line 401 of file InternetContent.cs.
|
static |
Checks if a domain or nost name is local.
| DomainOrHost | Domain or host name. |
| IncludeAlternativeDomains | If alternative domains are to be checked as well. |
Definition at line 2910 of file InternetContent.cs.
|
static |
Parses a Content-Type, providing the base Content-Type, character encoding, if any, and other field parameters available.
| ContentType | Content type string to parse. |
| Encoding | Encoding, if found, null otherwise. |
| Fields | Array of fields. |
Definition at line 689 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be posted. |
| ContentType | Content-Type of encoded data in EncodedData . |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1779 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be posted. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1731 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be posted. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1811 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be posted. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1761 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be posted. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1794 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be posted. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1745 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to post. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1685 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to post. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1641 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to post. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1714 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to post. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1668 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to post. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1699 of file InternetContent.cs.
|
static |
Posts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to post. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1654 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be put. |
| ContentType | Content-Type of encoded data in EncodedData . |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2101 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be put. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2054 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be put. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2132 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be put. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2083 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be put. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2116 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be put. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2068 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to put. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2008 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to put. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1964 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to put. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2037 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to put. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1991 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to put. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2022 of file InternetContent.cs.
|
static |
Puts to a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to put. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 1977 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be queried. |
| ContentType | Content-Type of encoded data in EncodedData . |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2860 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be queried. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2813 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be queried. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2891 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be queried. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2842 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be queried. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2875 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| EncodedData | Encoded data to be queried. |
| ContentType | Content-Type of encoded data in EncodedData . |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2827 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to query. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2767 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to query. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2723 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to query. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2796 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to query. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| RemoteCertificateValidator | Optional validator of remote certificates. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2750 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to query. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| TimeoutMs | Timeout, in milliseconds. (Default=InternetContent.DefaultTimeout) |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2781 of file InternetContent.cs.
|
static |
Queries a resource, using a Uniform Resource Identifier (or Locator).
| Uri | URI |
| Data | Data to query. |
| Certificate | Optional client certificate to use in a Mutual TLS session. |
| Headers | Optional headers. Interpreted in accordance with the corresponding URI scheme. |
Definition at line 2736 of file InternetContent.cs.
|
static |
Sets the default timeout of internet access methods, in milliseconds.
| Timeout | Timeout, in milliseconds. |
| Lock | If the default timeout should be locked. |
| ArgumentException | If attempting to set an invalid timeout. |
| InvalidOperationException | If attempting to change a locked timeout. |
Definition at line 148 of file InternetContent.cs.
|
static |
Tries to get the content type of an item, given its file extension.
| FileExtension | File extension. |
| ContentType | Content type. |
Definition at line 782 of file InternetContent.cs.
|
static |
Tries to get the file extension of an item, given its content type.
| ContentType | Content type. |
| FileExtension | File extension. |
Definition at line 844 of file InternetContent.cs.
|
static |
ISO-8859-1 character encoding.
Definition at line 23 of file InternetContent.cs.
|
staticget |
Internet content types that can be decoded.
Definition at line 446 of file InternetContent.cs.
|
staticget |
File extensions that can be decoded.
Definition at line 473 of file InternetContent.cs.
|
staticget |
Internet URI Schemes that can be deleted to.
Definition at line 2148 of file InternetContent.cs.
|
staticget |
Internet content types that can be encoded.
Definition at line 167 of file InternetContent.cs.
|
staticget |
File extensions that can be encoded.
Definition at line 194 of file InternetContent.cs.
|
staticget |
Internet URI Schemes that can be gotten.
Definition at line 1112 of file InternetContent.cs.
|
staticget |
Internet URI Schemes where it is possible to get headers.
Definition at line 2368 of file InternetContent.cs.
|
staticget |
Internet URI Schemes that can be posted to.
Definition at line 1505 of file InternetContent.cs.
|
staticget |
Internet URI Schemes that can be put to.
Definition at line 1828 of file InternetContent.cs.
|
staticget |
Internet URI Schemes that can be queried.
Definition at line 2587 of file InternetContent.cs.
|
staticget |
Available Internet Content Converters.
Definition at line 891 of file InternetContent.cs.
|
staticget |
Available Internet Content Decoders.
Definition at line 500 of file InternetContent.cs.
|
staticget |
Default timeout of internet access methods, in milliseconds.
Definition at line 139 of file InternetContent.cs.
|
staticget |
Available Internet Content Deleters.
Definition at line 2175 of file InternetContent.cs.
|
staticget |
Available Internet Content Encoders.
Definition at line 221 of file InternetContent.cs.
|
staticget |
Available Internet Content Getters.
Definition at line 1139 of file InternetContent.cs.
|
staticget |
Available Internet Content Header-retrievers.
Definition at line 2395 of file InternetContent.cs.
|
staticget |
Available Internet Content Posters.
Definition at line 1532 of file InternetContent.cs.
|
staticget |
Available Internet Content Putters.
Definition at line 1855 of file InternetContent.cs.
|
staticget |
Available Internet Content Queries.
Definition at line 2614 of file InternetContent.cs.
|
static |
Event raised when a local domain is to be checked.
Definition at line 2924 of file InternetContent.cs.