• Steven Roose's avatar
    rpc: Support specifying HTTP client in RPC dialing (#15836) · 952482d5
    Steven Roose authored
    * rpc: Support specifying HTTP client in RPC dialing
    
    Adds a minimal interface that captures http.Client and adds a new method
    rpc.DialHTTPClient that takes a client using that interface. The existing
    rpc.DialHTTP method is then alternatively implemented by using the new
    rpc.DialHTTPClient method provided with a standard *http.Client.
    
    * rpc: fix minor doc typos
    952482d5
http.go 6.11 KB