2023年4月3日 星期一

[研究]HTTP 類別套件問世年代、.NET Framework提供版本

[研究]HTTP 類別套件問世年代、.NET Framework提供版本

2023-04-03

HttpCachePolicy , HttpClientFactory , HttpClientHandler , HttpContent , HttpCookie , HttpListener , HttpMessageHandler , HttpRequestMessage , HttpResponseMessage , HttpUtility , HttpWebRequest , HttpWebRequest , HttpWebResponse ,WebClient, HttpClient 釋出年代、.NET Framework 哪一版開始提供

HttpCachePolicy: .NET Framework 1.0 (2002)

HttpCookie: .NET Framework 1.0 (2002)

HttpUtility: .NET Framework 1.0 (2002)

HttpWebRequest: .NET Framework 1.0 (2002)

HttpWebResponse: .NET Framework 1.0 (2002)

WebClient: .NET Framework 1.0 (2002)

HttpListener: .NET Framework 2.0 (2005)

HttpResponseMessage: .NET Framework 4.0 (2010)

HttpMessageHandler: .NET Framework 4.0 (2010)

HttpContent: .NET Framework 4.0 (2010)

HttpClientHandler: .NET Framework 4.5 (2012)

HttpRequestMessage: .NET Framework 4.5 (2012)

HttpClient: .NET Standard 2.0 (.NET Core 2.1+) / .NET Framework 4.5 (2012)

HttpClientFactory: .NET Standard 2.0 (.NET Core 2.1+) / .NET Framework 4.7.2 (2018)

比較新的是HttpClient和HttpClientFactory。

(完)

沒有留言:

張貼留言