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

Method close

internal/wsrelay/session.go:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (pr *pendingRequest) close() {
28 if pr == nil {
29 return
30 }
31 pr.closeOnce.Do(func() {
32 close(pr.ch)
33 })
34}
35
36type session struct {
37 conn *websocket.Conn

Callers 3

dispatchMethod · 0.45
requestMethod · 0.45
cleanupMethod · 0.45

Calls 1

DoMethod · 0.65

Tested by

no test coverage detected