Skip to content

Commit

Permalink
Merge pull request #2563 from headlamp-k8s/websocket-multiplexer-fron…
Browse files Browse the repository at this point in the history
…tend

frontend: Add websocket multiplexer
  • Loading branch information
illume authored Jan 6, 2025
2 parents fe2966a + 28003c3 commit 447bdbd
Show file tree
Hide file tree
Showing 13 changed files with 2,290 additions and 227 deletions.
3 changes: 3 additions & 0 deletions backend/cmd/headlamp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1609,6 +1609,9 @@ func (c *HeadlampConfig) addClusterSetupRoute(r *mux.Router) {

// Rename a cluster
r.HandleFunc("/cluster/{name}", c.renameCluster).Methods("PUT")

// Websocket connections
r.HandleFunc("/wsMultiplexer", c.multiplexer.HandleClientWebSocket)
}

/*
Expand Down
Loading

0 comments on commit 447bdbd

Please sign in to comment.