PrivateRookie / ws-tool

High perform & easy to use websocket client/server
Apache License 2.0
193 stars 23 forks source link

feature: add ability to bind to a network interface when using async #34

Closed arb000r closed 1 year ago

arb000r commented 1 year ago

Title

PrivateRookie commented 1 year ago

Thank you for your PR, ws-tool has provided with_stream/async_with_stream methods, these methods allow passing in a stream that implements Read + Write to construct the client, if you want to specify the nic, you can first construct the stream bound to a nic, Then use these methods, so ws-tool actually provides this function, I don't think it is necessary to add another api

arb000r commented 1 year ago

Thanks for letting me know