Questions tagged [suave]

A lightweight, non-blocking web server for F#

Suave is a lightweight, non-blocking web server. The non-blocking I/O model is efficient and suitable for building fast, scalable network applications. In fact, Suave is written in a completely non-blocking fashion throughout. Suave runs on Linux, OS X and Windows flawlessly.

112 questions
0
votes
1 answer

Form data is not correct with Suave web server

I am trying to receive a confirmation from AWS' SNS system. It sends a message through a POST to a webserver and I'm receiving it using Suave. When I get the message, the form field is truncated, I am receiving: "{\n \"Type\" :…
Thomas
  • 10,933
  • 14
  • 65
  • 136
0
votes
1 answer

Does Suave include tools for database?

Is there built-in way to access databases in Suave?
0
votes
1 answer

Dynamically handling longer running concurrent jobs in F#

I'm struggling with the right approach to handle longer running requests/jobs in F#. Requirement: A job consists of multiple steps (which need to be performed sequentially). A job can take several minutes, let's say up to 10 minutes. A step may…
cil22
  • 1
0
votes
0 answers

Error: "image 'en/FSharp.Core.resources.dll.so' not found: dlopen failed / condition `idx < t->rows' not met"

I'm unable to found why my app is crashing. I have a weird error condition `idx < t->rows' not met". This is activated when try to execute a embebed web server (Suave): let startServer() = **startWebServerAsync defaultConfig app <--- HERE** …
mamcx
  • 15,916
  • 26
  • 101
  • 189
0
votes
1 answer

F#: unable to use Suave.Types for build script

Trying to use Thomas Petriek's build script: https://github.com/tpetricek/suave-xplat-gettingstarted/blob/master/build.fsx Getting error that the namespace Types is not defined in open Suave.Types. Is this some namespace that has since been…
Zachscs
  • 3,353
  • 7
  • 27
  • 52
0
votes
1 answer

Cannot run multiple karma tests using suave server

When I run the below tests individually (by commenting out) then each test passes. However, when I run all tests then I get an XmlHttpRequest uncaught exception. The suave test server receives the requests and the logging shows no errors or…
halcwb
  • 1,480
  • 1
  • 13
  • 26
0
votes
1 answer

Moduler, mountable route handlers in Suave?

What's the recommended way to have mountable route handlers in Suave, as the routers in Express.js? On a high level, what I want to achieve is a way to define my routings using the relative paths, and mount them under a parent path. E.g, I want to…
KFL
  • 17,162
  • 17
  • 65
  • 89
1 2 3 4 5 6 7
8