Class WolfResponse
Represents Wolf server's response.
Inheritance
WolfResponse
Implements
Namespace: TehGM.Wolfringo.Messages.Responses
Assembly: Wolfringo.Core.dll
Syntax
public class WolfResponse : IWolfResponse
Constructors
| Improve this Doc View SourceWolfResponse()
Creates a new class of base WOLF protocol response.
Declaration
[JsonConstructor]
protected WolfResponse()
Properties
| Improve this Doc View SourceErrorCode
Nested error code.
Declaration
[JsonProperty("subCode", NullValueHandling = NullValueHandling.Ignore)]
public WolfErrorCode? ErrorCode { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfErrorCode> |
ErrorMessage
Nested error message.
Declaration
[JsonProperty("subMessage", NullValueHandling = NullValueHandling.Ignore)]
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
StatusCode
Response status code.
Declaration
[JsonProperty("code")]
public HttpStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
HttpStatusCode |