Git Product home page Git Product logo

Comments (4)

dustinmoris avatar dustinmoris commented on May 10, 2024 1

Ok I understand. I didn't plan to expose a SuaveIO like socket implementation to be honest, but if you have some ideas I am open for it!

If we would do something with web sockets then in the spirit of Giraffe it would have to be on top of ASP.NET Core's web socket server. The plan for Giraffe is to make the existing ASP.NET Core platform more functional rather than to replace it. Any suggestions to make the current ASP.NET Core web sockets more FSharpy are welcome :)

from giraffe.

dustinmoris avatar dustinmoris commented on May 10, 2024

Hi, ASP.NET Core already comes with a web socket server implementation that can be used from F#. You can find a C# example here, but it would be the same in F#. The boilerplate to set up the socket server is very minimal in its current form and once you have established a connection the communication could be literally anything so I don't know if an additional layer by Giraffe would be very meaningful? Did you have something specific in mind?

from giraffe.

Neftedollar avatar Neftedollar commented on May 10, 2024

No, the question was about suaveio-like api. But it's not so important. Thank you!

from giraffe.

forki avatar forki commented on May 10, 2024

I think the point of this is that having a F# sample will automatically show how it compares to the suave. Tbh I'm very interested in this scenario since keeping connections to thousands of clients is a the one interesting use case that I personally see for me

from giraffe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.