Table of Contents

Namespace DuetWebServer.Middleware

Classes

CustomEndpointMiddleware

Middleware providing with custom HTTP/WebSocket endpoints

FallbackMiddleware

Middleware class to redirect GET requests without dot in the path to the main index file

FixContentTypeMiddleware

Middleware to fix incoming content types for code and upload request (PUT /machine/file/..., POST /machine/code, POST /rr_upload). Without this middleware, incorrect request content types cause the validation to fail and there are no discrete MVC attributes to fix this

HttpEndpointConnection

Base class for connections that access the control server via the Duet API using a UNIX socket