From bf91cdfd50daffaa4814e2271a2eba82674fba76 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 3 Oct 2021 03:33:44 -0300 Subject: Update README --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index b96fe43..e23b6dc 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,6 @@ Now, obviously on its own the router is not very useful as it needs an actual HT (:require [ruuter.core :as ruuter] [org.httpkit.server :as http])) -; The given request map (second argument) will match the -; first route in this example, and return its response. (def routes [{:path "/" :method :get :response {:status 200 @@ -66,8 +64,6 @@ Now, obviously on its own the router is not very useful as it needs an actual HT (:require [ruuter.core :as ruuter] [ring.adapter.jetty :as jetty])) -; The given request map (second argument) will match the -; first route in this example, and return its response. (def routes [{:path "/" :method :get :response {:status 200 @@ -132,7 +128,7 @@ Or a function returning a map: :body "Hi there!"}) ``` -What the actual map can contain that you return depends again on the HTTP server you decided to use Ruuter with. The examples I've noted here are based on `http-kit`, but feel free to make a PR with additions for other HTTP servers. +What the actual map can contain that you return depends again on the HTTP server you decided to use Ruuter with. The examples I've noted here are based on [http-kit](https://github.com/http-kit/http-kit) & [ring + jetty](https://github.com/ring-clojure/ring), but feel free to make a PR with additions for other HTTP servers. ## Changelog -- cgit v1.2.3