Closed salmanahmad closed 10 years ago
I think I may need to modify the Connection
class to make it aware of client / server connections.
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.
Mostly updated and added as of 046ee9eec84c1ee83b250b435a0ae43217dbef18. There are a couple of rough edges with the API.
application/x-www-form-urlencoded
and multipart/form-data
Example code can be seen here:
https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/http/snoop/HttpSnoopClientHandler.java