Class RemoveHttpEndpoint
- Namespace
- DuetControlServer.Commands
- Assembly
- DuetControlServer.dll
Implementation of the RemoveHttpEndpoint command
public sealed class RemoveHttpEndpoint : RemoveHttpEndpoint
- Inheritance
-
RemoveHttpEndpoint
- Inherited Members
Constructors
RemoveHttpEndpoint(ObjectModel, ILogger<RemoveHttpEndpoint>)
Implementation of the RemoveHttpEndpoint command
public RemoveHttpEndpoint(ObjectModel model, ILogger<RemoveHttpEndpoint> logger)
Parameters
modelObjectModelObject model
loggerILogger<RemoveHttpEndpoint>Logger instance
Methods
ExecuteAsync(CancellationToken)
Remove a third-party HTTP endpoint
public override Task<bool> ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken