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 13:18:36 +0200
> Am 17.06.2022 um 13:04 schrieb Daniel Stenberg <daniel_at_haxx.se>:
>
> On Fri, 17 Jun 2022, Stefan Eissing wrote:
>
>>> 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?
>
> It is.
>
> Then data on stdin could be sent to the peer... as text or as binary? Maybe we we should use an option to allow the user to specify.
>
> And all data that is received could be written to stdout.
>
> Maybe we should allow for example "-d" to provide data to send after the connection has been established, to make it easier to automate websockets toying.
> echo "hello little ws" | curl wss://example.com/
>
> --
>
> / daniel.haxx.se
> | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> | https://curl.se/support.html
Date: Fri, 17 Jun 2022 13:18:36 +0200
> Am 17.06.2022 um 13:04 schrieb Daniel Stenberg <daniel_at_haxx.se>:
>
> On Fri, 17 Jun 2022, Stefan Eissing wrote:
>
>>> 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?
>
> It is.
>
> Then data on stdin could be sent to the peer... as text or as binary? Maybe we we should use an option to allow the user to specify.
>
> And all data that is received could be written to stdout.
>
> Maybe we should allow for example "-d" to provide data to send after the connection has been established, to make it easier to automate websockets toying.
> echo "hello little ws" | curl wss://example.com/
>
> --
>
> / 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.htmlReceived on 2022-06-17