1using System.Threading.Tasks;
13 : base(
"/DeletePubSubNode")
17 public override bool HandlesSubPaths =>
false;
18 public override bool UserSessions =>
true;
29 if (!(Obj is
string NodeName))
41 Response.StatusCode = 200;
43 await Response.
Write(
"1");
Plain text encoder/decoder.
const string DefaultContentType
text/plain
Static class managing the runtime environment of the IoT Gateway.
static IUser AssertUserAuthenticated(HttpRequest Request, string Privilege)
Makes sure a request is being made from a session with a successful user login.
The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repe...
Represents an HTTP request.
bool HasData
If the request has data.
async Task< object > DecodeDataAsync()
Decodes data sent in request.
Represets a response of an HTTP client request.
async Task Write(byte[] Data)
Returns binary data in the response.
Base class for all synchronous HTTP resources. A synchronous resource responds within the method hand...
The server has not found anything matching the Request-URI. No indication is given of whether the con...
XmppAddress MainDomain
Main/principal domain address
Contains information about one XMPP address.
CaseInsensitiveString Address
XMPP Address
Defines a node on which items can be published.
CaseInsensitiveString Domain
Domain
bool AllowsPOST
If the POST method is allowed.
async Task POST(HttpRequest Request, HttpResponse Response)
Executes the POST method on the resource.
Service Module hosting the XMPP broker and its components.
POST Interface for HTTP resources.