Liking cljdoc? Tell your friends :D

taoensso.sente.server-adapters.express

Sente server adapter for Node.js with Express (http://expressjs.com/).

This adapter works differently that the others as Sente is expecting Ring requests but Express uses http.IncomingMessage. While most of this adapter could be used for similar implementations there will be assumptions here that the following express middleware (or equivalents) are in place:

  • cookie-parser
  • body-parser
  • csurf
  • express-session
  • express-ws

See the example project at https://goo.gl/lnkiqS for an implementation (it's a bit different than something built on Ring).

Sente server adapter for Node.js with Express (http://expressjs.com/).

This adapter works differently that the others as Sente is
expecting Ring requests but Express uses http.IncomingMessage.
While most of this adapter could be used for similar
implementations there will be assumptions here that the following
express middleware (or equivalents) are in place:
  - cookie-parser
  - body-parser
  - csurf
  - express-session
  - express-ws

See the example project at https://goo.gl/lnkiqS for an
implementation (it's a bit different than something built on Ring).
raw docstring

make-express-channel-socket-server!cljs

(make-express-channel-socket-server! & [opts])

A customized make-channel-socket-server! that uses Node.js with Express as the web server.

A customized `make-channel-socket-server!` that uses Node.js with
Express as the web server.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close