Liking cljdoc? Tell your friends :D

s-exp.appia

Router utilities for HTTP request handling using matching on path/method.

Provides functions for building and matching routes, adapted from clj-simple-router but modified to match on named path parameters (e.g. '/foo/{bar}') and HTTP methods instead of simple wildcards.

Exposes:

  • make-matcher: Builds a matcher from a set of routes.
  • match: Attempts to match a matcher against a Ring-style request.
Router utilities for HTTP request handling using matching on path/method.

Provides functions for building and matching routes, adapted from
clj-simple-router but modified to match on named path parameters
(e.g. '/foo/{bar}') and HTTP methods instead of simple wildcards.

Exposes:
- make-matcher: Builds a matcher from a set of routes.
- match: Attempts to match a matcher against a Ring-style request.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close