public
Description: C++ lightweight, fast, portable HTTP client library
Homepage:
Clone URL: git://github.com/tokuhirom/nanowww.git
name age message
file .gitignore Mon Oct 19 17:49:32 -0700 2009 added req.set_user_agent, hdr.set_user_agent, r... [tokuhirom]
file .gitmodules Loading commit data...
file Makefile.PL Mon Oct 19 17:49:32 -0700 2009 added req.set_user_agent, hdr.set_user_agent, r... [tokuhirom]
file README.mkdn Thu Oct 15 17:28:44 -0700 2009 hmm [tokuhirom]
file TODO
directory author/ Tue Oct 13 16:54:08 -0700 2009 added simple script for benchmarking [tokuhirom]
directory eg/ Mon Oct 12 23:57:11 -0700 2009 use nanotap instead. [tokuhirom]
directory extlib/
directory inc/
directory lib/
file nanowww.h
directory t/
README.mkdn

NAME

nanowww - tiny HTTP client library for C/C++

SYNOPSIS

#include "nanowww.h"
nanowww::Client www;
nanowww::Response;
if (www.send_get(&res, "http://google.com")) {
    if (res.is_success()) {
        cout << res.content() << endl;
    }
} else {
    cerr << res.errstr() << endl;
}

FAQ

  • how to use I/O multiplexing request

use thread, instead.

  • how to use gopher/telnet/ftp.

I don't want to support gopher/telnet/ftp in nanowww.