mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-26 23:20:27 +08:00
TUN-3868: Refactor singleTCPService and bridgeService to tcpOverWSService and rawTCPService
This commit is contained in:
@@ -87,6 +87,7 @@ func (t Type) String() string {
|
||||
}
|
||||
|
||||
type OriginProxy interface {
|
||||
// If Proxy returns an error, the caller is responsible for writing the error status to ResponseWriter
|
||||
Proxy(w ResponseWriter, req *http.Request, sourceConnectionType Type) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user