jonmorehouse / gatekeeper

a pluggable http routing runtime
12 stars 1 forks source link

consolidate server and proxier types? #53

Closed jonmorehouse closed 8 years ago

jonmorehouse commented 8 years ago

Its a little awkward that some of the transport logic that is clearly related to what the server is doing is separate.

The transport should be responsible for calling back into the server in order to build and handle the request properly?

How can we consolidate all of the response writing in one place?