Skip to content

SitePort

Record in Oadm.Sdk.Sites · Oadm.Sdk.dll

A port a plugin listens on at sites (plugin.json sitePorts, from OadmSitePorts), listed on the Plugins page and requested from the node app when the plugin opens its relay.

public sealed record SitePort(SiteProtocol Protocol, int Port, string Reason)

Parameters

  • Protocol: UDP or TCP.
  • Port: 1..65535.
  • Reason: Why, in a few plain words (“NTP server”); shown in the node app.
int Port { get; init; }

1..65535.

SiteProtocol Protocol { get; init; }

UDP or TCP.

string Reason { get; init; }

Why, in a few plain words (“NTP server”); shown in the node app.