Skip to content

Commit

Permalink
Change namespace to ring.websocket.*
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
weavejester committed May 6, 2024
1 parent 762f1c6 commit 763acce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns ring.middleware.websocket-keepalive
(ns ring.websocket.keepalive
(:require [ring.websocket :as ws]
[ring.websocket.protocols :as wsp])
(:import [java.util.concurrent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(ns ring.middleware.websocket-keepalive-test
(ns ring.websocket.keepalive-test
(:require [clojure.test :refer [deftest is testing]]
[ring.websocket :as ws]
[ring.websocket.protocols :as wsp]
[ring.middleware.websocket-keepalive :as ka]))
[ring.websocket.keepalive :as ka]))

(deftest test-websocket-keepalive-request
(testing "websocket pings"
Expand Down

0 comments on commit 763acce

Please sign in to comment.