Class RestResponse
Represents a response sent by the remote HTTP party.
Inherited Members
Namespace: KSharpPlus.Net.Rest
Assembly: KSharpPlus.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 |
---|---|
Nullable<IReadOnlyDictionary<String, String>> |
Response
Gets the contents of the response sent by the remote party.
Declaration
public string Response { get; }
Property Value
Type | Description |
---|---|
String |
ResponseCode
Gets the response code sent by the remote party.
Declaration
public int ResponseCode { get; }
Property Value
Type | Description |
---|---|
Int32 |