Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ProxyURL (0.32 sec)

  1. internal/config/subnet/config.go

    		// inputs not performing any network calls.
    		return cfg, nil
    	}
    
    	// Make sure to clone the transport before editing the ProxyURL
    	if proxyURL != nil {
    		ctransport := transport.(*http.Transport).Clone()
    		ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL))
    		cfg.transport = ctransport
    	} else {
    		cfg.transport = transport
    	}
    
    	return cfg, nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. internal/logger/target/http/http.go

    	} else {
    		h.payloadType = "application/json"
    	}
    
    	// If proxy available, set the same
    	if h.config.Proxy != "" {
    		proxyURL, _ := url.Parse(h.config.Proxy)
    		transport := h.config.Transport
    		ctransport := transport.(*http.Transport).Clone()
    		ctransport.Proxy = http.ProxyURL(proxyURL)
    		h.config.Transport = ctransport
    	}
    
    	h.client = &http.Client{Transport: h.config.Transport}
    
    	if h.config.QueueDir != "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg net/http, func Post(string, string, io.Reader) (*Response, error)
    pkg net/http, func PostForm(string, url.Values) (*Response, error)
    pkg net/http, func ProxyFromEnvironment(*Request) (*url.URL, error)
    pkg net/http, func ProxyURL(*url.URL) func(*Request) (*url.URL, error)
    pkg net/http, func ReadRequest(*bufio.Reader) (*Request, error)
    pkg net/http, func ReadResponse(*bufio.Reader, *Request) (*Response, error)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top