http

by reagent

reagent / http

Simple HTTP client in C

225 Stars 93 Forks Last release: Not found 10 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

A simple C http client

This is just a simple implementation of an HTTP client written in C. It uses the included library to initialize and build a dynamically growable buffer.

Dependencies

Installation

Once all dependencies are installed, run these commands to build included dependencies and the client itself:

$ git submodule init && git submodule update
$ cd vendor/buffer && make && cd -
$ make

Usage

The client takes a single parameter -- the URL to fetch:

$ ./bin/http http://example.com/foobar.html

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.