Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ProxyURL (0.03 sec)

  1. internal/logger/target/http/http.go

    		h.payloadType = "application/json"
    	}
    
    	// If proxy available, set the same
    	if h.config.Proxy != "" {
    		proxyURL, _ := url.Parse(h.config.Proxy)
    		transport := h.config.Transport
    		if tr, ok := transport.(*http.Transport); ok {
    			ctransport := tr.Clone()
    			ctransport.Proxy = http.ProxyURL(proxyURL)
    			h.config.Transport = ctransport
    		}
    	}
    
    	h.client = &http.Client{Transport: h.config.Transport}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top