Skip to content

server: make the Accept trait public #1146

@jmlemetayer

Description

@jmlemetayer

Is your feature request related to a problem? Please describe.
Some external crates used the Server::run_incoming method to modify the behavior of the warp server (example: tokio-rustls-acme).

Now that this method has been replaced by Server::incoming and is no longer a Stream based argument but an acceptor, the server::accept::Accept trait must be public.

Describe the solution you'd like
Make the server::accept::Accept trait public.

Describe alternatives you've considered
N.A.

Additional context
See: n0-computer/tokio-rustls-acme#35

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions