Skip to content

Commit 763acce

Browse files
committed
Change namespace to ring.websocket.*
This fits in better with other libraries like ring.websocket.transit, and the 'websocket' part of the name feels more significant than the 'middleware' part. In addition, the naming prefix of the function, i.e. wrap-, also indicates the function is middleware.
1 parent 762f1c6 commit 763acce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ring/middleware/websocket_keepalive.clj renamed to src/ring/websocket/keepalive.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(ns ring.middleware.websocket-keepalive
1+
(ns ring.websocket.keepalive
22
(:require [ring.websocket :as ws]
33
[ring.websocket.protocols :as wsp])
44
(:import [java.util.concurrent

test/ring/middleware/websocket_keepalive_test.clj renamed to test/ring/websocket/keepalive_test.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
(ns ring.middleware.websocket-keepalive-test
1+
(ns ring.websocket.keepalive-test
22
(:require [clojure.test :refer [deftest is testing]]
33
[ring.websocket :as ws]
44
[ring.websocket.protocols :as wsp]
5-
[ring.middleware.websocket-keepalive :as ka]))
5+
[ring.websocket.keepalive :as ka]))
66

77
(deftest test-websocket-keepalive-request
88
(testing "websocket pings"

0 commit comments

Comments
 (0)