Skip to content

Commit 447bdbd

Browse files
authored
Merge pull request #2563 from headlamp-k8s/websocket-multiplexer-frontend
frontend: Add websocket multiplexer
2 parents fe2966a + 28003c3 commit 447bdbd

File tree

13 files changed

+2290
-227
lines changed

13 files changed

+2290
-227
lines changed

backend/cmd/headlamp.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,9 @@ func (c *HeadlampConfig) addClusterSetupRoute(r *mux.Router) {
16091609

16101610
// Rename a cluster
16111611
r.HandleFunc("/cluster/{name}", c.renameCluster).Methods("PUT")
1612+
1613+
// Websocket connections
1614+
r.HandleFunc("/wsMultiplexer", c.multiplexer.HandleClientWebSocket)
16121615
}
16131616

16141617
/*

0 commit comments

Comments
 (0)