MCPcopy
hub / github.com/cloudflare/cloudflared / EstablishConnection

Method EstablishConnection

ingress/origin_proxy.go:21–21  ·  view source on GitHub ↗
(ctx context.Context, dest string, log *zerolog.Logger)

Source from the content-addressed store, hash-verified

19// StreamBasedOriginProxy can be implemented by origin services that want to proxy ws/TCP.
20type StreamBasedOriginProxy interface {
21 EstablishConnection(ctx context.Context, dest string, log *zerolog.Logger) (OriginConnection, error)
22}
23
24// HTTPLocalProxy can be implemented by cloudflared services that want to handle incoming http requests.

Callers 2

proxyStreamMethod · 0.65

Implementers 3

rawTCPServiceingress/origin_service.go
tcpOverWSServiceingress/origin_service.go
socksProxyOverWSServiceingress/origin_service.go

Calls

no outgoing calls

Tested by 1