MP
Size: a a a
MP
MP
MP
MP
AI
MP
AI
MP
MP
MP
AI
MP
MP
OR
OR
(defroutes routes
(route/resources "/")
(GET "/favicon.ico" [] (fn [_] ""))
(POST "/handler" [] (wrap-protobuf config-protobuf-fn)))
(defn- start-web []
(web/run (-> app-routes
wrap-cookies
metrics/wrap-metrics)
{"host" (System/getProperty "host" "127.0.0.1")
"port" (Integer. (System/getProperty "port" "8080"))}))
MP
AG
cheshire.core/parse-stream & cheshire.core.generate-stream
io.pedestal.http.body-params, io.pedestal.http/json-body, io.pedestal.http.route/parse-query-string & parse-query-params
IG