pedestal

Twice 2019-02-28T07:29:37.002400Z

Hey, everyone! While trying to incorporate Sente library into Pedestal, I'm getting No implementation of method: :default-content-type of protocol: #'io.pedestal.http.impl.servlet-interceptor/WriteableBody found for class: org.projectodd.wunderboss.web.async.ServletHttpChannel error. Can't figure out how to deal with it

2019-02-28T15:21:30.003100Z

@alisher.atantayev, I’m not familiar with Sente but based on that message, it seems like you’ll need to implement an interceptor chain provider to support it. The default servlet-specific implementation supports Tomcat, Jetty and Immutant.

Jonathan 2019-02-28T19:49:38.003300Z

I haven’t used Sente but I recently evaluated it for a project. It’s a fairly comprehensive websockets library but it’s not compatible with Tomcat or Jetty. I ended up using http-kit’s built-in websocket library. Time will tell if that’s the right choice

2019-02-28T20:01:58.003500Z

:thumbsup:

Twice 2019-03-01T04:42:24.003700Z

I thought it was compatible with Immutant, guess I was wrong. Thanks for advice anyway!