MCPcopy
hub / github.com/fatedier/frp / NewHTTPSProxy

Function NewHTTPSProxy

server/proxy/https.go:36–45  ·  view source on GitHub ↗
(baseProxy *BaseProxy)

Source from the content-addressed store, hash-verified

34}
35
36func NewHTTPSProxy(baseProxy *BaseProxy) Proxy {
37 unwrapped, ok := baseProxy.GetConfigurer().(*v1.HTTPSProxyConfig)
38 if !ok {
39 return nil
40 }
41 return &HTTPSProxy{
42 BaseProxy: baseProxy,
43 cfg: unwrapped,
44 }
45}
46
47func (pxy *HTTPSProxy) Run() (remoteAddr string, err error) {
48 xl := pxy.xl

Callers

nothing calls this directly

Calls 1

GetConfigurerMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…