Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for modifyRequest (0.08 seconds)

  1. internal/handlers/forwarder.go

    	outReq := new(http.Request)
    	*outReq = *inReq // includes shallow copies of maps, but we handle this in Director
    
    	revproxy := httputil.ReverseProxy{
    		Director: func(req *http.Request) {
    			f.modifyRequest(req, inReq.URL)
    		},
    		BufferPool:    newBufPool(128 << 10),
    		Transport:     f.RoundTripper,
    		FlushInterval: defaultFlushInterval,
    		ErrorHandler:  f.customErrHandler,
    	}
    
    	if f.ErrorHandler != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top