Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cloudflare/cloudflared
/ SendDisconnect
Method
SendDisconnect
connection/observer.go:97–99 ·
view source on GitHub ↗
(connIndex uint8)
Source
from the content-addressed store, hash-verified
95
}
96
97
func
(o *Observer) SendDisconnect(connIndex uint8) {
98
o.sendEvent(Event{Index: connIndex, EventType: Disconnected})
99
}
100
101
func
(o *Observer) sendEvent(e Event) {
102
select
{
Callers
1
serveTunnel
Method · 0.80
Calls
1
sendEvent
Method · 0.95
Tested by
no test coverage detected