Skip to content

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

@Nek-

Description

@Nek-

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions