Fork me on GitHub
#ring-swagger
<
2016-12-19
>
ikitommi07:12:21

how does the with-channel of http-kit work with the new async-ring? I guess http-kit will require a new “async-ring adapter” if pure ring want’s to be used?

ikitommi07:12:02

1.2 will support async ring, but I have only seen a async-ring-jetty adapter so far.

ikitommi07:12:24

@csm also, Muuntaja could be made to support the different async responses directly. Do you have an example on the conditional response handling? chain the response formatting somehow?

csm18:12:56

I think these with-channel things work by passing back a “special” value to the server layer, and then you send your response out-of-band to the channel that was created

csm18:12:41

that is, it really just subverts ring altogether, and my solution was to just force the routing layer to return the raw value for those routes

csm18:12:06

at least, that’s my understanding of how immutant.web does it, and the http-kit API looks similar