Table of Contents

Class Response

Namespace
RustPlusApi.Data
Assembly
RustPlusApi.dll

Result of an acknowledge-only Rust+ command (set MOTD, promote, subscribe, …): success state and an optional error, with no payload. Commands that return data use Response<T>.

public sealed record Response : IEquatable<Response>
Inheritance
Response
Implements
Inherited Members

Properties

Error

Error detail provided by the server when IsSuccess is false.

public ErrorMessage? Error { get; init; }

Property Value

ErrorMessage

IsSuccess

true if the server processed the request successfully.

public bool IsSuccess { get; init; }

Property Value

bool