Class RestServerAgent
Represents a REST Server agent in the IoT Gateway. REST Server agents do not have publish or message template properties.
[Endpoint("/config/v1/project/_iot_gateway/rest_servers/{name}", null)]
public class RestServerAgent : IotAgent, IEquatable<BaseEntity>, IHaveOwner, IHaveName
- Inheritance
-
RestServerAgent
- Implements
- Inherited Members
- Extension Methods
Constructors
- RestServerAgent()
Initializes a new instance of the RestServerAgent class.
- RestServerAgent(string)
Initializes a new instance of the RestServerAgent class with the specified name.
Properties
- AllowAnonymousLogin
Gets or sets whether anonymous login is allowed.
- CorsAllowedOrigins
Gets or sets the CORS allowed origins (comma-delimited list).
- EnableWriteEndpoint
Gets or sets whether the write endpoint is enabled.
- NetworkAdapter
Gets or sets the network adapter for the REST server endpoint.
- PortNumber
Gets or sets the port number for the REST server.
- UseHttps
Gets or sets whether HTTPS encryption is enabled.