Meta tags:
Headings (most frequently used words):
libcurl, small, example, snippets, index, of, examples,
Text of the page (most frequently used words):
the (36), multi (30), imap (30), http (28), with (27), using (25), and (22), pop3 (22), interface (19), use (16), smtp (16), email (15), get (15), file (14), api (13), from (11), download (10), options (10), server (9), upload (9), libcurl (9), ftp (9), examples (8), callback (8), url (8), ssl (8), tls (8), list (8), simple (8), post (8), single (8), websocket (7), memory (7), https (7), socket (7), send (7), show (7), easy (7), transfer (7), all (7), how (7), retrieve (6), emails (6), only (5), data (5), two (5), mailbox (5), delete (5), extract (5), over (4), header (4), implicit (4), connection (4), shared (4), headers (4), for (4), multipart (4), formpost (4), noop (4), source (4), code (4), transfers (4), parallel (4), folder (4), http2 (4), can (4), functions (4), also (3), docs (3), write (3), page (3), set (3), threaded (3), shows (3), usage (3), address (3), authzid (3), application (3), that (3), uses (3), request (3), custom (3), number (3), new (3), one (3), example (3), persistent (3), connections (3), basic (3), without (3), doing (3), ipv6 (3), put (3), used (3), getinfo (3), after (3), curl (3), overview (3), you (2), parse (2), document (2), user (2), certificate (2), given (2), into (2), local (2), fetch (2), files (2), time (2), client (2), certs (2), optional (2), engine (2), mime (2), another (2), progress (2), gtk (2), make (2), smooth (2), thread (2), cache (2), handles (2), share (2), sftp (2), resuming (2), stores (2), separate (2), rtsp (2), addresses (2), hostname (2), port (2), range (2), additional (2), parts (2), postit2 (2), formadd (2), receive (2), response (2), issue (2), read (2), contents (2), obtain (2), perform (2), netrc (2), multi_socket (2), blocking (2), libevent (2), debug (2), failed (2), search (2), folders (2), create (2), copy (2), httpput (2), checks (2), support (2), present (2), http3 (2), multiplexed (2), push (2), plus (2), preload (2), hsts (2), ftpget (2), wildcard (2), default (2), scheme (2), crawler (2), connect (2), info (2), scope (2), different (2), symbols (2), setopt (2), find, these, distribution, archive, stream, streaming, expat, parser, xmlstream, updown, connect_only, private, key, usercertinmem, working, curlu, urlapi, named, out, url2file, access, unix, domain, unixsocket, program, pthreads, several, once, your, system, remote, date, synctime, sslbackend, verify, vrfy, mail, expand, mailing, expn, behalf, bar, status, pulse, simplessl, simplepost, between, previously, aborted, sftpuploadresume, gets, sftpget, curlinfo_tls_session, sessioninfo, sepheaders, demonstrate, curl_easy_send, curl_easy_recv, sendrecv, sending, curlopt_resolve, feed, combinations, resolve, resource, outputs, protocols, features, supported, protofeats, callbacks, old, depending, available, version, progressfunc, postinmemory, provide, through, unique, uidl, showing, top, message, statistics, stat, retr, dele, reusing, parseurl, credentials, libuv, curl_multi_wait, poll, legacy, event, double, debugcallback, app, maximum, maxconnects, save, verbose, log, disk, log_failed_transfers, curlopt_localport, control, localport, tcp, keep, alive, keepalive, curlopt_interface, bind, outgoing, modify, properties, store, subscribed, lsub, within, information, about, examine, append, curlopt_postfields, postfields, modified, removed, added, httpcustomheader, uploads, serverpush, pushinmemory, downloads, webpage, title, libxml, htmltitle, libtidy, html, htmltidy, domains, hiperfifo, headerapi, glib2, ghiper, referrer, getreferrer, location, redirect, getredirect, function, chunk, instead, storing, getinmemory, content, type, completed, active, mode, ftpuploadresume, ftpuploadfrommem, performs, renames, successful, ftpupload, ftps, ftpsget, similar, but, received, lines, our, own, ftpgetresp, size, mtime, ftpgetinfo, pattern, matching, fileupload, pass, externalsocket, libev, evhiperfifo, epoll, timerfd, ephiperfifo, change, when, none, provided, curlopt_debugfunction, web, based, libxml2, stress, test, hundreds, concurrent, various, servers, import, export, cookies, cookielist, cookie_interface, curlopt_connect_to, wrong, timing, completes, chkspeed, lots, certinfo, cert, openssl, cacertinmem, curlopt_opensocketfunction, block, block_ip, authentication, any, method, picks, supports, wants, anyauthput, alt, svc, altsvc, specific, many, same, index, are, written, unless, specifically, mentioned, see, which, codes, them, collection, smaller, stand, alone, applications, ways, internet, scenarios, related, small, snippets, curl_multi_setopt, curl_multi_remove_handle, curl_multi_perform, curl_multi_init, curl_multi_add_handle, curl_easy_setopt, curl_easy_reset, curl_easy_perform, curl_easy_init, curl_easy_getinfo, tutorial, security, errors, environment, vars, menu,
Text of the page (random words):
libcurl source code examples menu api overview docs docs overview api easy api multi api share api url api websocket environment vars errors examples security symbols tutorial easy setopt options easy getinfo options multi setopt options tls options functions functions overview all functions curl_easy_getinfo curl_easy_init curl_easy_perform curl_easy_reset curl_easy_setopt curl_multi_add_handle curl_multi_init curl_multi_perform curl_multi_remove_handle curl_multi_setopt curl libcurl api examples libcurl small example snippets related all functions api symbols a collection of smaller stand alone applications using the libcurl api in different ways to show how to use it for different internet transfer scenarios download all examples you can also see a list of all libcurl easy options and which example source codes that use them all examples are written in c unless specifically mentioned index of examples 10 at a time download many files in parallel in the same thread address scope http get to an ipv6 address with specific scope altsvc http with alt svc support anyauthput http put upload with authentication using any method libcurl picks the one the server supports wants block_ip show how curlopt_opensocketfunction can be used to block ip addresses cacertinmem ca cert in memory with openssl to get an https page certinfo extract lots of tls certificate info chkspeed show transfer timing info after download completes connect to use curlopt_connect_to to connect to wrong hostname cookie_interface import and export cookies with cookielist crawler web crawler based on curl and libxml2 to stress test curl with hundreds of concurrent connections to various servers debug show how curlopt_debugfunction can be used default scheme change default scheme when none is provided in the url ephiperfifo multi socket interface with epoll and timerfd evhiperfifo multi socket interface with libev externalsocket pass in a custom socket for libcurl to use fileupload upload to a file url ftp delete delete a single file from an ftp server ftp wildcard ftp wildcard pattern matching ftpget get a single file from an ftp server ftpgetinfo checks a single file s size and mtime from an ftp server ftpgetresp similar to ftpget c but also stores the received response lines in a separate file using our own callback ftpsget get a single file from an ftps server ftpupload performs an ftp upload and renames the file after a successful transfer ftpuploadfrommem ftp upload a file from memory ftpuploadresume upload to ftp resuming failed transfers active mode getinfo use getinfo to get content type after completed transfer getinmemory shows how the write callback function can be used to download data into a chunk of memory instead of storing it in a file getredirect show how to extract location header and url to redirect to getreferrer show how to extract referrer header ghiper multi socket interface with glib2 headerapi extract headers post transfer with the header api hiperfifo multi socket interface with libevent 2 hsts preload preload domains to hsts htmltidy download a document and use libtidy to parse the html htmltitle c plus plus get a webpage extract the title with libxml http options issue an http options request http post simple http post using the easy interface http2 download multiplexed http 2 downloads over a single connection http2 pushinmemory http 2 server push receive all data in memory http2 serverpush http 2 server push http2 upload multiplexed http 2 uploads over a single connection http3 simple http 3 get http3 present checks if http 3 support is present in libcurl httpcustomheader http request with custom modified removed and added headers httpput http put with easy interface and read callback httpput postfields http put using curlopt_postfields https simple https get imap append send email with imap imap authzid retrieve emails from a shared imap mailbox imap copy copy an email from one imap folder to another imap create create a new imap folder imap delete delete an imap folder imap examine obtain information about an imap folder imap fetch retrieve imap emails imap list list the folders within an imap mailbox imap lsub list the subscribed imap folders imap multi get imap email with the multi interface imap noop perform an imap noop imap search search for new imap emails imap ssl imap with implicit ssl imap store modify the properties of an email over imap imap tls imap using tls interface use curlopt_interface to bind the outgoing socket to an interface ipv6 https get using ipv6 only keepalive use the tcp keep alive options localport use curlopt_localport to control local port number log_failed_transfers save failed transfer verbose log to disk maxconnects set maximum number of persistent connections to 1 multi app a basic application source code using the multi interface doing two transfers in parallel multi debugcallback multi interface and debug callback multi double multi interface code doing two parallel http transfers multi event multi_socket api using libevent multi formadd using the multi interface to do a multipart formpost without blocking multi legacy a basic application source code using the multi interface doing two transfers in parallel without curl_multi_wait poll multi post using the multi interface to do a multipart formpost without blocking multi single using the multi interface to do a single download multi uv multi_socket api using libuv netrc use credentials from netrc parseurl basic url api use persistent reusing handles to do http persistent connections pop3 authzid retrieve emails from a shared pop3 mailbox pop3 dele delete pop3 emails pop3 list list the contents of a pop3 mailbox pop3 multi get pop3 email using the multi interface pop3 noop perform a pop3 noop pop3 retr retrieve pop3 email pop3 ssl get pop3 email using implicit ssl pop3 stat obtain pop3 message statistics pop3 tls pop3 using tls pop3 top pop3 example showing how to retrieve only the headers of an email pop3 uidl list the contents of a pop3 mailbox by unique id post callback issue an http post and provide the data through the read callback postinmemory make an http post with data from memory and receive response in memory postit2 http multipart formpost with file upload and two additional parts postit2 formadd http multipart formpost with file upload and two additional parts progressfunc use the progress callbacks old and or new one depending on available libcurl version protofeats outputs all protocols and features supported range get a range only of an http resource resolve use curlopt_resolve to feed custom ip addresses for given hostname port number combinations rtsp options simple rtsp request sending options sendrecv demonstrate curl_easy_send and curl_easy_recv usage sepheaders simple http get that stores the headers in a separate file sessioninfo uses the curlinfo_tls_session data sftpget gets a file using an sftp url sftpuploadresume upload to sftp resuming a previously aborted transfer shared connection cache connection cache shared between easy handles with the share interface simple simple http get simplepost simple http post simplessl shows https usage with client certs and optional ssl engine use smooth gtk thread a multi threaded application that uses a progress bar to show status it uses gtk to make a smooth pulse smtp authzid send email on behalf of another user with smtp smtp expn expand an smtp email mailing list smtp mail send email with smtp smtp mime send smtp mime emails smtp multi send smtp email with the multi interface smtp ssl send smtp email using implicit ssl smtp tls send smtp email using implicit tls smtp vrfy verify an smtp email address sslbackend shows https usage with client certs and optional ssl engine use synctime set your system time from a remote http server s date header threaded a multi threaded program using pthreads to fetch several files at once unixsocket access http server over unix domain socket url2file download a given url into a local file named page out urlapi set working url with curlu usercertinmem use in memory user certificate and private key and retrieve an https page websocket websocket using connect_only websocket cb websocket download only using write callback websocket updown websocket download only using write callback xmlstream stream parse a document using the streaming expat parser you also find these examples in the distribution archive in docs examples
|