MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / sendConnectedEvent

Method sendConnectedEvent

connection/observer.go:74–76  ·  view source on GitHub ↗
(connIndex uint8, protocol Protocol, location string, edgeAddress net.IP)

Source from the content-addressed store, hash-verified

72}
73
74func (o *Observer) sendConnectedEvent(connIndex uint8, protocol Protocol, location string, edgeAddress net.IP) {
75 o.sendEvent(Event{Index: connIndex, EventType: Connected, Protocol: protocol, Location: location, EdgeAddress: edgeAddress})
76}
77
78func (o *Observer) SendURL(url string) {
79 o.sendEvent(Event{EventType: SetURL, URL: url})

Callers 1

ServeControlStreamMethod · 0.80

Calls 1

sendEventMethod · 0.95

Tested by

no test coverage detected