This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: localhost:8080" -H "Origin: http://localhost:8080" -H "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" -H "Sec-WebSocket-Version: 13" http://localhost:8080/chsk | |
* Trying 127.0.0.1... | |
* TCP_NODELAY set | |
* Connected to localhost (127.0.0.1) port 8080 (#0) | |
> GET /chsk HTTP/1.1 | |
> Host: localhost:8080 | |
> User-Agent: curl/7.58.0 | |
> Accept: */* | |
> Connection: Upgrade:csrf-token-fn nil} | |
> Upgrade: websocket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject client-server "0.1.0-SNAPSHOT" | |
:description "FIXME: write description" | |
:url "http://example.com/FIXME" | |
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" | |
:url "https://www.eclipse.org/legal/epl-2.0/"} | |
:dependencies [[org.clojure/clojure "1.10.0"] | |
[compojure "1.6.1"] | |
[http-kit "2.3.0"]] | |
:main ^:skip-aot client-server.core | |
:target-path "target/%s" |