Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
RssCloud.cs
1using System;
2using System.Xml;
4
5namespace Waher.Content.Rss
6{
13 public class RssCloud
14 {
23 public RssCloud(XmlElement Xml, Uri BaseUri)
24 {
25 if (Xml is null)
26 throw new ArgumentNullException(nameof(Xml));
27
28 this.Domain = XML.Attribute(Xml, "domain");
29 this.Port = XML.Attribute(Xml, "port", 80);
30 this.Path = XML.Attribute(Xml, "path");
31 this.RegisterProcedure = XML.Attribute(Xml, "registerProcedure");
32 this.Protocol = XML.Attribute(Xml, "protocol");
33 }
34
38 public string Domain { get; }
39
43 public int Port { get; }
44
48 public string Path { get; }
49
53 public string RegisterProcedure { get; }
54
58 public string Protocol { get; }
59 }
60}
Web service that supports the rssCloud interface.
Definition: RssCloud.cs:14
RssCloud(XmlElement Xml, Uri BaseUri)
Web service that supports the rssCloud interface
Definition: RssCloud.cs:23
int Port
Port number
Definition: RssCloud.cs:43
string RegisterProcedure
Register procedure
Definition: RssCloud.cs:53
string Protocol
Protocol
Definition: RssCloud.cs:58
Helps with common XML-related tasks.
Definition: XML.cs:19
static string Attribute(XmlElement E, string Name)
Gets the value of an XML attribute.
Definition: XML.cs:914