What is Middleware?

  • Middleware allows a process to be inspected and filtered during ingress and egress through a system
  • Each middleware forms a layer that a request and response must pass through
  • This pattern is commonly used in the HTTP request lifecycle of web applications
  • Guzzle supports adding middleware to your outgoing requests and incoming responses

← / → navigate · N notes · Esc exit