Show / Hide Table of Contents

Class ServerInfo

Information about the ntfy server.

Inheritance
object
ServerInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ntfy.Responses
Assembly: ntfy.dll
Syntax
public class ServerInfo

Properties

| Improve this Doc View Source

AppRoot

The server's root path.

Declaration
[JsonProperty("app_root")]
public string? AppRoot { get; }
Property Value
Type Description
string
| Improve this Doc View Source

BaseUrl

The server's base URL.

Declaration
[JsonProperty("base_url")]
public string? BaseUrl { get; }
Property Value
Type Description
string
| Improve this Doc View Source

DisallowedTopics

A list of disallowed topics on the server.

Declaration
[JsonProperty("disallowed_topics")]
public string[]? DisallowedTopics { get; }
Property Value
Type Description
string[]
| Improve this Doc View Source

LoginEnabled

Whether the server allows login.

Declaration
[JsonProperty("enable_login")]
public bool LoginEnabled { get; }
Property Value
Type Description
bool
| Improve this Doc View Source

PaymentsEnabled

Whether the server allows payments.

Declaration
[JsonProperty("enable_payments")]
public bool PaymentsEnabled { get; }
Property Value
Type Description
bool
| Improve this Doc View Source

SignupEnabled

Whether the server allows signup.

Declaration
[JsonProperty("enable_signup")]
public bool SignupEnabled { get; }
Property Value
Type Description
bool
| Improve this Doc View Source

TopicReservationsEnabled

Whether the server allows topic reservations.

Declaration
[JsonProperty("enable_reservations")]
public bool TopicReservationsEnabled { get; }
Property Value
Type Description
bool
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX