salmanahmad / silo

The Silo Programming Language
0 stars 0 forks source link

Create HTTP Client API #49

Closed salmanahmad closed 10 years ago

salmanahmad commented 10 years ago

Example code can be seen here:

https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/http/snoop/HttpSnoopClientHandler.java

salmanahmad commented 10 years ago

I think I may need to modify the Connection class to make it aware of client / server connections.

salmanahmad commented 10 years ago

I am going to add readHead along with writeHead. There is actually some of parallels between the different APIs. readHead is only available for client connections and likewise writeHead is only available for server connections.

salmanahmad commented 10 years ago

Mostly updated and added as of 046ee9eec84c1ee83b250b435a0ae43217dbef18. There are a couple of rough edges with the API.