Enum HttpResponseType
Enumeration of supported HTTP responses
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
[JsonConverter(typeof(JsonLowerCaseStringEnumConverter))]
public enum HttpResponseType
Fields
Name | Description |
---|---|
File | File content. Response must hold the absolute path to the file to return |
JSON | JSON-formatted data |
PlainText | Plain text (UTF-8) |
StatusCode | HTTP status code without payload |
URI | Send this request to another server (proxy). Response must hold the URI to send the request to |