Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class WolfResponse

    Represents Wolf server's response.

    Inheritance
    System.Object
    WolfResponse
    AchievementListResponse
    AchievementResponse
    BlockListResponse
    CharmListResponse
    CharmStatisticsResponse
    ChatHistoryResponse
    ChatResponse
    ChatUpdateResponse
    ContactListResponse
    EntitiesSubscribeResponse
    EntityAchievementListResponse
    GroupAudioUpdateResponse
    GroupEditResponse
    GroupListResponse
    GroupMembersListResponse
    GroupProfileResponse
    GroupStatisticsResponse
    LoginResponse
    NotificationsListResponse
    OnlineStateUpdateResponse
    TipDetailsResponse
    TipSummaryResponse
    UrlMetadataResponse
    UserCharmsListResponse
    UserProfileResponse
    UserUpdateResponse
    Implements
    IWolfResponse
    Namespace: TehGM.Wolfringo.Messages.Responses
    Assembly: Wolfringo.Core.dll
    Syntax
    public class WolfResponse : IWolfResponse

    Constructors

    | Improve this Doc View Source

    WolfResponse()

    Creates a new class of base WOLF protocol response.

    Declaration
    [JsonConstructor]
    protected WolfResponse()

    Properties

    | Improve this Doc View Source

    ErrorCode

    Nested error code.

    Declaration
    [JsonProperty("subCode", NullValueHandling = NullValueHandling.Ignore)]
    public WolfErrorCode? ErrorCode { get; }
    Property Value
    Type Description
    System.Nullable<WolfErrorCode>
    | Improve this Doc View Source

    ErrorMessage

    Nested error message.

    Declaration
    [JsonProperty("subMessage", NullValueHandling = NullValueHandling.Ignore)]
    public string ErrorMessage { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    StatusCode

    Response status code.

    Declaration
    [JsonProperty("code")]
    public HttpStatusCode StatusCode { get; }
    Property Value
    Type Description
    System.Net.HttpStatusCode

    Implements

    IWolfResponse

    Extension Methods

    WolfResponseExtensions.IsSuccess(IWolfResponse)
    WolfResponseExtensions.IsError(IWolfResponse)