Fork me on GitHub
#pedestal
<
2019-02-28
>
Twice07:02:37

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

ddeaguiar15:02:30

@UFEQ5L1NK, 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.

Jonathan19:02:38

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

Twice04:03:24

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