Class RestResponse
Represents a response sent by the remote HTTP party.
Inheritance
System.Object
RestResponse
Namespace: DisCatSharp.Net
Assembly: DisCatSharp.dll
Syntax
public sealed class RestResponse
Properties
| Improve this Doc View SourceHeaders
Gets the headers sent by the remote party.
Declaration
public IReadOnlyDictionary<string, string> Headers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<System.String, System.String> |
Response
Gets the contents of the response sent by the remote party.
Declaration
public string Response { get; }
Property Value
Type | Description |
---|---|
System.String |
ResponseCode
Gets the response code sent by the remote party.
Declaration
public int ResponseCode { get; }
Property Value
Type | Description |
---|---|
System.Int32 |