SaturnFramework / Saturn

Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
https://saturnframework.org
MIT License
705 stars 108 forks source link

Allow all functions in a channel to see the socketId #227

Closed robertpi closed 4 years ago

robertpi commented 4 years ago

Breaking change. Could be done in a none breaking way, by adding new operators to allow code to opt-in to see the socketId, but adds considerable complexity. Added a SocketInfo record to wrap the SocketId, to allow more information about the socket to be added at a later date without a breaking change.

Krzysztof-Cieslak commented 4 years ago

Awesome, thanks a lot