Re: [Question / Feature Request] Sending data within WebSocket connection through curl CLI

Daniel Stenberg via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
On Mon, 11 Dec 2023, Snusmumr1000 via curl-users wrote:

> I have recently compiled an experimental version of libcurl that enables
> websockets, and I see that it works well when receiving data.
>
> However, I still can't find (or understand) if it is possible to send the
> data within the established connection.
>
> A link to some documentation would be enough.

Sure:

  https://curl.se/libcurl/c/curl_ws_send.html

But there are also examples:

  https://curl.se/libcurl/c/websocket.html

and

  https://curl.se/libcurl/c/websocket-cb.html

Also: the curl-library is the mailing list for libcurl, which should be a 
better place if you have more questions about library stuff.

-- 

  / 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/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.