MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Handler

Method Handler

internal/wsrelay/manager.go:91–93  ·  view source on GitHub ↗

Handler exposes an http.Handler that upgrades connections to websocket sessions.

()

Source from the content-addressed store, hash-verified

89
90// Handler exposes an http.Handler that upgrades connections to websocket sessions.
91func (m *Manager) Handler() http.Handler {
92 return http.HandlerFunc(m.handleWebsocket)
93}
94
95// Stop gracefully closes all active websocket sessions.
96func (m *Manager) Stop(_ context.Context) error {

Callers 3

RunMethod · 0.80
newPprofMuxFunction · 0.80

Calls

no outgoing calls