Module stick/middleware

Convenience module that provides access to all Stick middleware using a single require() call.

Properties

  • basicauth
  • continuation
  • cookies
  • error
  • etag
  • gzip
  • method
  • mount
  • notfound
  • params
  • profiler
  • render
  • requestlog
  • route
  • session
  • static
  • upload

basicauth

Middleware for Basic HTTP Authentication.


continuation

Middleware for generator based continuations.


cookies

Middleware for cookie support.


error

Middleware for generating error pages.


etag

Middleware for ETag based conditional GET.


gzip

Middleware for GZip compression of response bodies.


method

Middleware for HTTP method overriding.


mount

Middleware for mounting other applications.


notfound

Middleware for generating 404 pages.


params

Middleware for request parameter parsing.


profiler

Middleware for JavaScript code profiling.


render

Middleware for template based response rendering.


requestlog

Middleware for collecting log messages per HTTP request.


route

Middleware for intra-app request routing.


session

Middleware for HTTP session support.


static

Middleware for serving static resources.


upload

Middleware for file upload support.


Stick API
Module list Full index
  • stick
  • stick/helpers
  • stick/middleware
  • stick/middleware/basicauth
  • stick/middleware/continuation
  • stick/middleware/cookies
  • stick/middleware/error
  • stick/middleware/etag
  • stick/middleware/gzip
  • stick/middleware/method
  • stick/middleware/mount
  • stick/middleware/notfound
  • stick/middleware/params
  • stick/middleware/profiler
  • stick/middleware/render
  • stick/middleware/requestlog
  • stick/middleware/route
  • stick/middleware/session
  • stick/middleware/static
  • stick/middleware/upload