[swift-server-dev] Next HTTP API meeting
hatsuneyuji at icloud.com
Mon Mar 27 11:37:21 CDT 2017
Hi Chris and Logan,
I agree with Logan. The HTTP parser could be done with request/response defined as protocol. Perhaps a protocol orientated HTTP parser with concrete typed default Response/Request can be an option?
> On Mar 27, 2017, at 9:33 AM, Logan Wright <logan at qutheory.io> wrote:
> Hi Chris,
> I didn't realize that, but that's fine. If that's the case, and it's possible, conforming our concrete model to some protocols might be a nice compromise. This allows frameworks to interact more natively if they prefer while providing some convenience types for more basic implementations. Just a thought.
> - Logan
More information about the swift-server-dev