Closed thomasjm closed 3 years ago
@thomasjm Thanks! The Connection
constructor is already exposed from Network.WebSockets.Connection
module. I'm not sure if I want to expose it from the "main" WebSockets
module since I think most people don't need it. I'm happy to add an export for the Http
module, but in that case we should also add a note there that it's mostly internal.
Oh sorry, I didn't mean to push the Network.WebSockets.Http
commit to this same branch. That was an experiment I was doing, please ignore.
Ah, I didn't realize the Connection
constructor was exported there. I'll just close this PR then. Thanks!
I'd like to access the connectionSentClose field of the
Connection
object, so I can manually send a close message when one hasn't been sent yet. This PR exposes the fields.