-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathApiWebAppState.cs
More file actions
25 lines (24 loc) · 880 Bytes
/
ApiWebAppState.cs
File metadata and controls
25 lines (24 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2026, Siemens AG
//
// SPDX-License-Identifier: MIT
namespace Siemens.Simatic.S7.Webserver.API.Enums
{
/// <summary>
/// Possible api Webapp states => determines whether (get) requests (e.g. browser: access plc webapp) to the endpoint are responded with the requested resources or not
/// </summary>
public enum ApiWebAppState
{
/// <summary>
/// Should never be the case
/// </summary>
None = 0,
/// <summary>
/// The WebApp is enabled => When sending (GET) requests to the according endpoint the resource requested will be returned in the response
/// </summary>
Enabled = 1,
/// <summary>
/// The WebApp is enabled => When sending (GET) requests to the according endpoint 503 FORBIDDEN will be responded
/// </summary>
Disabled = 2
}
}