Skip to content

WebAssembly support #338

Answered by dantti
nsourligas asked this question in Q&A
Mar 12, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

There is no point in using cutelyst IN a WASM application, why would you want to listen as a server on the client's browser?
The limitation you pointed is about using RAW sockets with SSL, but calling an external REST API with HTTPS works just fine.
Cutelyst in WA should be the server part where you issue you HTTPS request and it works like if was PHP/JAVA/nodejs, with the advantage that it's Qt code that usually the one writing Qt desktop/WA/mobile app understand.
A side note is that it seems WA doesn't work with self signed certs, but I don't know the details just that a friend had this issue, which might not be an issue for you, I myself use WA with a cutelyst server using a valid cert…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nsourligas
Comment options

@dantti
Comment options

@nsourligas
Comment options

Answer selected by nsourligas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants