CrossClj
noir.core/defpage
RECENT
    • (defpage & args)
    Adds a route to the server whose content is the the result of evaluating the body.
      The function created is passed the params of the request and the destruct param allows
      you to destructure that meaningfully for use in the body.
    
      There are several supported forms:
    
      (defpage "/foo/:id" {id :id})  an unnamed route
      (defpage [:post "/foo/:id"] {id :id}) a route that responds to POST
      (defpage foo "/foo:id" {id :id}) a named route
      (defpage foo [:post "/foo/:id"] {id :id})
    
      The default method is GET.

    noir.core/defpage found in 9 defs, across 7 projects.

    Search for vars with similar names in all artifacts: defpage

    Search for defpage in the documentation of all artifacts.

    1 usage in
    noir 1.3.0
    Noir - a clojure web framework
    1 usage in
    geni-gedcom 0.0.9
    A GEDCOM to Geni importer.
    3 usages in
    eventoverse-collector 0.2.0-alpha5
    A yet another events/logs-as-data collector.
    1 usage in
    ghostandthemachine-fetch 0.1.0-alpha2
    A ClojureScript and Noir library to make client-server interaction painless.
    1 usage in
    fetch 0.3.0
    A ClojureScript and Noir library to make client-server interaction painless.
    1 usage in
    thebitenoir 1.2.6-CUSTOM
    Noir - a clojure web framework
    1 usage in
    noir-forthold 0.1.0
    Noir - a clojure web framework
    Source code