---
displayed_sidebar: homepage
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# MiddlewareFunction

 **MiddlewareFunction**: [MedusaRequestHandler](medusa.MedusaRequestHandler.mdx) \| (...`args`: `any`[]) => `any`
