endpointMiddleware is responsible for executing the matched endpoint's request delegate. It should always be the last middleware in the pipeline. If no endpoint was matched by the routing middleware, it passes control to the next delegate (which is typically the terminal no-op), allowing the respon
| 61 | // to the next delegate (which is typically the terminal no-op), allowing |
| 62 | // the response to fall through as a 404 or be handled elsewhere. |
| 63 | type endpointMiddleware struct { |
| 64 | } |
| 65 | |
| 66 | // newEndpointMiddleware creates a new endpointMiddleware. |
| 67 | // This middleware should always be the last in the pipeline. |
nothing calls this directly
no outgoing calls
no test coverage detected