Skip to content

Commit 5f4a15b

Browse files
committed
Update README
1 parent a4e8ca1 commit 5f4a15b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,20 @@
22

33
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.
44

5-
## Installation & Usage
5+
## Dependencies
66

7+
* [uriparser](http://uriparser.sourceforge.net/) -- TODO: build instructions
8+
9+
## Installation
10+
11+
Once all dependencies are installed, run these commands to build included dependencies and the client itself:
12+
13+
$ git submodule init && git submodule update
14+
$ cd vendor/buffer && make && cd -
715
$ make
8-
$ http -h <hostname>
9-
$ http -h <hostname> -p <port>
16+
17+
## Usage
18+
19+
The client takes a single parameter -- the URL to fetch:
20+
21+
$ ./bin/http http://example.com/foobar.html

0 commit comments

Comments
 (0)