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: curl with websockets
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Stefan Eissing via curl-users <curl-users_at_lists.haxx.se>
Date: Fri, 17 Jun 2022 12:59:33 +0200
> Am 17.06.2022 um 12:40 schrieb Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>:
>
> Hello!
>
> I've started working on implementing and adding support for WebSockets to curl. My primary use case I envision for this, is to provide an API for applications that allows them to write applications with full two-way communication over websockets. But the support will also be provided for the curl tool.
>
> A fun question then follows: how do we want to use this from the command line tool! What would you like curl to do with WebSockets?
>
> Like if you enter this command line:
>
> $ curl wss://example.com/ ...
>
> What would you want it to do? What fun features do you think a curl command line use of WebSockets should offer?
Isn't connecting it to stdin/stdout the obvious thing?
Or it could create a unix domain socket, accept on it and *then* open the websocket bidirectional?
Or it could spawn a user-given command to pipe things bidirectional to?
Cheers, Stefan
> --
>
> / 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://lists.haxx.se/listinfo/curl-users
> Etiquette: https://curl.se/mail/etiquette.html
Date: Fri, 17 Jun 2022 12:59:33 +0200
> Am 17.06.2022 um 12:40 schrieb Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>:
>
> Hello!
>
> I've started working on implementing and adding support for WebSockets to curl. My primary use case I envision for this, is to provide an API for applications that allows them to write applications with full two-way communication over websockets. But the support will also be provided for the curl tool.
>
> A fun question then follows: how do we want to use this from the command line tool! What would you like curl to do with WebSockets?
>
> Like if you enter this command line:
>
> $ curl wss://example.com/ ...
>
> What would you want it to do? What fun features do you think a curl command line use of WebSockets should offer?
Isn't connecting it to stdin/stdout the obvious thing?
Or it could create a unix domain socket, accept on it and *then* open the websocket bidirectional?
Or it could spawn a user-given command to pipe things bidirectional to?
Cheers, Stefan
> --
>
> / 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://lists.haxx.se/listinfo/curl-users
> Etiquette: https://curl.se/mail/etiquette.html
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2022-06-17