Response Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the HTTP response from the service.
public abstract class Response : IDisposable
type Response = class
interface IDisposable
Public MustInherit Class Response
Implements IDisposable
- Inheritance
-
Response
- Implements
Constructors
Response() |
Properties
ClientRequestId |
Gets the client request id that was sent to the server as |
Content |
Gets the contents of HTTP response, if it is available. |
ContentStream |
Gets the contents of HTTP response. Returns |
Headers |
Get the HTTP response headers. |
IsError |
Indicates whether the status code of the returned response is considered an error code. |
ReasonPhrase |
Gets the HTTP reason phrase. |
Status |
Gets the HTTP status code. |
Methods
ContainsHeader(String) |
Returns |
Dispose() |
Frees resources held by this Response instance. |
EnumerateHeaders() |
Returns an iterator for enumerating HttpHeader in the response. |
FromValue<T>(T, Response) |
Creates a new instance of Response<T> with the provided value and HTTP response. |
ToString() |
Returns the string representation of this Response. |
TryGetHeader(String, String) |
Returns header value if the header is stored in the collection. If header has multiple values they are going to be joined with a comma. |
TryGetHeaderValues(String, IEnumerable<String>) |
Returns header values if the header is stored in the collection. |
Applies to
Azure SDK for .NET