summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* soup-server: add new-and-improved APIsDan Winship2014-05-022-43/+51
| | | | | | | | | | Add new APIs to SoupServer, allowing multiple listening sockets on a server, and listening on an existing fd or GSocket, and with better error handling. https://bugzilla.gnome.org/show_bug.cgi?id=522519 https://bugzilla.gnome.org/show_bug.cgi?id=561547 https://bugzilla.gnome.org/show_bug.cgi?id=621138
* examples: fix simple-proxyDan Winship2014-01-071-1/+1
| | | | startup error checking was busted, making this not even work
* get: fix to not send the request twiceDan Winship2013-08-181-3/+2
|
* examples: port get to plain SoupSessionDan Winship2013-07-131-4/+16
|
* build: use AM_CPPFLAGS rather than INCLUDESDan Winship2013-07-101-1/+1
| | | | to make automake 1.13 happy
* [examples] "get" uses -o to save to a fileAndres Gomez2013-07-031-4/+23
| | | | | | | | | | The "get" example is now able to handle a new "-o" parameter specifying the path of a file in which to write the received body of a "GET" operation. If the file exists, it will be overwritten. https://bugzilla.gnome.org/show_bug.cgi?id=703229
* [examples] Added SoupLogger to get exampleAndres Gomez2013-07-031-29/+19
| | | | | | | | Now, instead of printing the debug information manually we use SoupLogger for this with the "-d" flag. https://bugzilla.gnome.org/show_bug.cgi?id=703231
* examples: use GOptionContext (finally)Dan Winship2013-02-233-144/+146
|
* examples: move examples from tests/ to examples/Dan Winship2013-02-234-0/+683
get, simple-httpd, and simple-proxy are more example code than test programs, so move them into a separate directory. Also, remove "dns", which was once a sort-of test of SoupAddress, but is now just a redundant sort-of test of GResolver.