MCPcopy Create free account
hub / github.com/gorilla/websocket / init

Function init

proxy.go:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func init() {
24 proxy_RegisterDialerType("http", func(proxyURL *url.URL, forwardDialer proxy_Dialer) (proxy_Dialer, error) {
25 return &httpProxyDialer{proxyURL: proxyURL, forwardDial: forwardDialer.Dial}, nil
26 })
27}
28
29type httpProxyDialer struct {
30 proxyURL *url.URL

Callers

nothing calls this directly

Calls 1

proxy_RegisterDialerTypeFunction · 0.85

Tested by

no test coverage detected