This has been good feedback, thank you all. I'm going to work on writing up what has been covered into a proposal here: https://github.com/schmidtw/curl-websocket-proposal
Best, Wes On Wed, Jun 23, 2021 at 3:12 PM Dan Fandrich via curl-library <curl-library@cool.haxx.se> wrote: > > On Thu, Jun 24, 2021 at 12:03:41AM +0200, Daniel Stenberg via curl-library > wrote: > > Even if I having been educated in this thread have realized that the > > curl_easy_recv and curl_easy_send calls won't work for this as-is, so we > > should therefore probably consider adding special-purpose websocket > > read/send API calls. > > Such an API might also be usable for telnet. Whether it's worthwhile > converting > telnet to use such an API is another story, but at least thinking about it > might make the API more future-proof. > > Dan > ------------------------------------------------------------------- > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library > Etiquette: https://curl.se/mail/etiquette.html ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html