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. 🙏