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

Method Stream

ingress/origin_connection.go:21–21  ·  view source on GitHub ↗

Stream should generally be implemented as a bidirectional io.Copy.

(ctx context.Context, tunnelConn io.ReadWriter, log *zerolog.Logger)

Source from the content-addressed store, hash-verified

19type OriginConnection interface {
20 // Stream should generally be implemented as a bidirectional io.Copy.
21 Stream(ctx context.Context, tunnelConn io.ReadWriter, log *zerolog.Logger)
22 Close() error
23}
24

Callers 1

proxyStreamMethod · 0.65

Implementers 2

tcpOverWSConnectioningress/origin_connection.go
socksProxyOverWSConnectioningress/origin_connection.go

Calls

no outgoing calls

Tested by

no test coverage detected