Extending Request Class

Posted 2 years ago by cololaradev

Hello,

I´m trying to extend the Request Class.

Use Case: There is a middleware which determines a microservice url from the request path. This microservice url should be available later on in a controller. I thought it could be a good option to place it to the request class.

I don´t find any documentation how to achieve this.

Many thanks.

Please sign in or create an account to participate in this conversation.