System.Net.HttpWebResponse
E704377
System.Net.HttpWebResponse is a .NET class that represents an HTTP response received from an Internet resource, providing access to status codes, headers, and response data.
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
HTTP response abstraction ⓘ sealed class ⓘ |
| assembly | System.dll ⓘ |
| category | networking API ⓘ |
| documentationUrl | https://learn.microsoft.com/dotnet/api/system.net.httpwebresponse ⓘ |
| hasMethod |
Close()
ⓘ
Dispose() ⓘ GetResponseHeader(string) ⓘ GetResponseStream() ⓘ SupportsHeaders ⓘ |
| hasProperty |
CharacterSet
ⓘ
ContentLength ⓘ ContentType ⓘ Headers ⓘ IsMutuallyAuthenticated ⓘ LastModified ⓘ Method ⓘ ProtocolVersion ⓘ ResponseUri ⓘ Server ⓘ StatusCode ⓘ StatusDescription ⓘ |
| headerCollectionType | System.Net.WebHeaderCollection NERFINISHED ⓘ |
| implements | System.IDisposable NERFINISHED ⓘ |
| inheritsFrom | System.Net.WebResponse NERFINISHED ⓘ |
| introducedIn | .NET Framework 2.0 NERFINISHED ⓘ |
| isAbstract | false ⓘ |
| isSealed | true ⓘ |
| lifecycle | must be closed or disposed to free network resources ⓘ |
| namespace | System.Net NERFINISHED ⓘ |
| obtainedBy |
HttpWebRequest.GetResponse()
NERFINISHED
ⓘ
WebRequest.GetResponse() cast to HttpWebResponse ⓘ |
| platform |
.NET (5+ for compatibility scenarios)
NERFINISHED
ⓘ
.NET Core (via compatibility shims in some versions) NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| providesAccessTo |
HTTP headers
ⓘ
HTTP status code ⓘ response body data ⓘ |
| represents | HTTP response received from an Internet resource ⓘ |
| returnsStreamType | System.IO.Stream from GetResponseStream() NERFINISHED ⓘ |
| statusCodeType | System.Net.HttpStatusCode NERFINISHED ⓘ |
| supportsProtocol |
HTTP
ⓘ
HTTPS ⓘ |
| threadSafety | instance members are not guaranteed to be thread safe ⓘ |
| usageRecommendation | considered legacy compared to System.Net.Http.HttpClient ⓘ |
| usedWith | System.Net.HttpWebRequest NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.