Skip to content

Commit e4cba96

Browse files
iarenazaptaoussanis
authored andcommitted
[fix] [#464] [#325] Fix option to use custom WebSocket constructor (@iarenaza)
Commit f560294 introduced the option to use a custom Websocket constructor. But even if the caller of `make-channel-socket-client!` passed in the optional `:ws-constructor` key, the value of that key was never used. The code from that commit always used the `default-client-ws-constructor` function. Which probably means nobody has ever used that option until now :-) [Re: #325]
1 parent cf6a3ec commit e4cba96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/taoensso/sente.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@
20032003
:packer packer
20042004
:ws-kalive-ms ws-kalive-ms
20052005
:ws-ping-timeout-ms ws-ping-timeout-ms
2006-
:ws-constructor default-client-ws-constructor}
2006+
:ws-constructor ws-constructor}
20072007

20082008
ws-chsk-opts
20092009
(merge common-chsk-opts

0 commit comments

Comments
 (0)