liberator icon indicating copy to clipboard operation
liberator copied to clipboard

Support new interceptor model that Ring now supports

Open eslick opened this issue 11 years ago • 6 comments

Ring refactored the standard handlers to support the more complicated, but async-io friendly, interceptor model that separates request handling from response generation. Is liberator friendly to a similar refactoring? If so, is this something you are interested or I might take on in a few months when I need the interceptor model?

eslick avatar Jul 02 '13 23:07 eslick

To be honest, I completely missed this in ring. I will catch up with current ring and check whether this is possible.

ordnungswidrig avatar Jul 06 '13 19:07 ordnungswidrig

It's not a major feature, but something the ring team did to help out the Pedestal project: http://pedestal.io/documentation/service-interceptors/

eslick avatar Jul 06 '13 19:07 eslick

I see, I just wanted to ask about where to find more information.

ordnungswidrig avatar Jul 06 '13 19:07 ordnungswidrig

Is this done ? I would like to use liberator with pedestal services.

murtaza52 avatar Oct 18 '13 06:10 murtaza52

@murtaza52 as far as I understand, regular ring handlers like those liberator creates can be server from pedestal.

ordnungswidrig avatar Oct 18 '13 12:10 ordnungswidrig

Is there an example of this as of today ? Some guidelines to get started integrating pedestal and liberator ?

nha avatar Nov 12 '15 09:11 nha