curl / Mailing Lists / curl-library / Single Mail
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: Websockets libcurl 8.3.0

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 17 Oct 2023 15:19:39 +0200 (CEST)

On Mon, 16 Oct 2023, john via curl-library wrote:

> I am unable to get 'curl_ws_send' to work.
>
> What does libcurl do for the 'curl_ws_send' request?
> Do I need other curl_easy_setopt before doing the 'curl_ws_send'?
> What should the buffer in the 'curl_ws_send' contain?

WebSocket documentation overview (with links to individual functions):

   https://curl.se/libcurl/c/libcurl-ws.html

Two examples using callback mode and non-callback mode:

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

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

-- 
  / 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-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-10-17