Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: allow to customize compression middleware on server creation #366

Open
Nek- opened this issue Apr 28, 2024 · 0 comments
Open

Comments

@Nek-
Copy link

Nek- commented Apr 28, 2024

As already stated in another issue #324 , it may be convenient to customize the way the compression is done by the middleware.

That's why not having the ability to customize the middleware anymore is something awkward in the builder of the SocketHttpServer::createForDirectAccess() method. It leads to an entire copy/paste of this method when you want to customize only a property of the compressor.

I think it would be great to find a more convenient way. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant