Response

Namespace: uModCommonWeb

Assembly: uMod.Common.dll

Inheritance Object Response

Summary

Web request response data

Constructors

Name

Summary

Response ()

Fields

Name

Summary

Body

Safely disposes this object

ContentEncoding

Gets the Content-Encoding from the response

ContentLength

The Content-Length returned from the response

ContentType

Content-Type set by the Content-Type Header of the response

Headers

The Headers from the response

Method

The original method used to get this response

ProtocolVersion

Gets the HTTP protocol version

ResponseUri

Gets the Uri of the responding server

StatusCode

Gets the status code returned from the responding server

StatusDescription

Gets information on the returned status code

Methods

Name

Summary

ReadAsBytes ()

Reads the Response in it's raw data

ReadAsString (Encoding)

Reads the response as a string

Static Fields

Name

Summary

EmptyBody