ntex-rs / ntex

framework for composable networking services
Apache License 2.0
1.98k stars 108 forks source link

Abstract server/worker implementation #304

Closed dbarbosapn closed 6 months ago

dbarbosapn commented 6 months ago

This implementation abstracts the Worker to receive a generic type for forwarding to the service, and abstracted the worker command sending into a trait, to not depend on the "accept.rs" module.

Also, moved some APIs to public visibility as they're needed for implementing servers outside of ntex.