Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition. Suave is inspired in the simplicity of Happstack and born out of the necessity of embedding web server capabilities in my own applications. Suave supports Websocket, HTTPS, multiple TCP/IP bindings, Basic Access Authentication, Keep-Alive. Suave also takes advantage of F# asynchronous workflows to perform non-blocking IO. In fact, Suave is written in a completely non-blocking fashion throughout. We have a NuGet ready for your testing needs; Suave is an excellent server for running in-process integration tests, as it's very fast to spawn. On an ordinary laptop, running hundreds of randomized tests and micro-benchmarks as well as all Suave unit tests, take about 5 seconds on mono.

Features

  • The simplest Suave application is a simple HTTP server that greets all visitors with the string "Hello World!"
  • Suave.X where X is a module is where we expect users to look
  • You need to document your methods with '///' to create XML-doc
  • A XML documentation file is generated together with the compilation and is distributed with the NuGet so that others can read your code's intentions easily
  • Don't put unnecessary parenthesis unless it makes the code more clear
  • Run Tests as a console app. Return status code = 0 means success

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Suave

Suave Web Site

Other Useful Business Software
$300 in Free Credit for Your Google Cloud Projects Icon
$300 in Free Credit for Your Google Cloud Projects

Build, test, and explore on Google Cloud with $300 in free credit. No hidden charges. No surprise bills.

Launch your next project with $300 in free Google Cloud credit—no hidden charges. Test, build, and deploy without risk. Use your credit across the Google Cloud platform to find what works best for your needs. After your credits are used, continue building with free monthly usage products. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Suave!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

F#

Related Categories

F# Software Development Software, F# Web Services Software

Registered

2022-09-19