Skip to content

Consider using traits (or some other mechanism) to remove overhead of unused features #66

@gjcairo

Description

@gjcairo

From https://forums.swift.org/t/designing-an-http-server-api-for-swift/85255/2

We should consider using traits to disable features that are not needed by users of the NIOHTTPServer.
For instance, if a user is only interested in using HTTP1 over plaintext, TLS and HTTP2 wouldn't be needed, and thus the overhead of bringing in all those dependencies could be avoided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementImprovements to existing feature.size/MMedium task. (A couple of days of work.)status/needs-designNeeds further discussion and a concrete proposal.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions