Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: External WS library?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 13 Aug 2021 10:17:53 +0200 (CEST)
On Thu, 12 Aug 2021, Felipe Gasper via curl-library wrote:
> Regarding the plan to add WebSocket to curl, would it be useful to consider,
> instead of writing a new implementation, incorporating an existing library?
Yes, I think that's a very sensible way to imlement the discussed API and
matches how we have implemented many other protocols in curl. Standing on the
shoulders of giants etc.
> IĒve worked a bit with libwebsockets, which seems quite complete.
> Until recently it didnĒt integrate into a custom external event loop--as
> would be needed for integration into something like curl--but the upstream
> code now can.
That looks like a very good contender indeed. License wise it should be fine
and they seem to have a lot of testing and CI going on and it seems like a
mature library. Claims to be "lightweight" and with a small footprint too.
On the con side, without having actually used or worked with it, seems to be
that the docs is *generated* and that uninevitably means it will be poor.
Might not be a big problem though, and is very common.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-08-13
Date: Fri, 13 Aug 2021 10:17:53 +0200 (CEST)
On Thu, 12 Aug 2021, Felipe Gasper via curl-library wrote:
> Regarding the plan to add WebSocket to curl, would it be useful to consider,
> instead of writing a new implementation, incorporating an existing library?
Yes, I think that's a very sensible way to imlement the discussed API and
matches how we have implemented many other protocols in curl. Standing on the
shoulders of giants etc.
> IĒve worked a bit with libwebsockets, which seems quite complete.
> Until recently it didnĒt integrate into a custom external event loop--as
> would be needed for integration into something like curl--but the upstream
> code now can.
That looks like a very good contender indeed. License wise it should be fine
and they seem to have a lot of testing and CI going on and it seems like a
mature library. Claims to be "lightweight" and with a small footprint too.
On the con side, without having actually used or worked with it, seems to be
that the docs is *generated* and that uninevitably means it will be poor.
Might not be a big problem though, and is very common.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-08-13