Click or drag to resize

WebResponseFactorySupportedContentTypes Property

Gets a dictionary containing all content types currently supported by the WebResponseFactory.

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
public static Dictionary<string, Func<HttpWebResponse, WebResponse>> SupportedContentTypes { get; }

Property Value

Type: DictionaryString, FuncHttpWebResponse, WebResponse
Remarks
The key of the dictionary is the text the content type must start with (but not necessarily the full text of the content type).

The value is a FuncT, TResult that takes an HttpWebResponse object with the given content type and returns a WebResponse. The return value is usually a subclass of the WebResponse class.
See Also