Skip to content

PinningStatus

Namespace Nfty.Core.Publish.Ipfs in assembly Nfty.Core.

public sealed record PinningStatus

Whether a pinning service can be talked to right now, and what it said about itself.

Constructors

PinningStatus(bool, string, string, string, string?, string?)

public PinningStatus(bool Reachable, string Provider, string Summary, string Detail, string? Version = null, string? PeerId = null);

Parameters

  • Reachable (bool) - True when the service answered and accepted the credentials (if any).
  • Provider (string) - Which service this is, as a person reads it: Local IPFS or Pinata.
  • Summary (string) - A few words for a status chip: connected · kubo 0.29.0, not reachable.
  • Detail (string) - One sentence saying what was found and, when it failed, what to do about it.
  • Version (string?) - The node's version, when the service reports one.
  • PeerId (string?) - The node's peer id, when the service reports one.

Properties

Detail

public string Detail { get; init; }

One sentence saying what was found and, when it failed, what to do about it.

PeerId

public string? PeerId { get; init; }

The node's peer id, when the service reports one.

Provider

public string Provider { get; init; }

Which service this is, as a person reads it: Local IPFS or Pinata.

Reachable

public bool Reachable { get; init; }

True when the service answered and accepted the credentials (if any).

Summary

public string Summary { get; init; }

A few words for a status chip: connected · kubo 0.29.0, not reachable.

Version

public string? Version { get; init; }

The node's version, when the service reports one.