HTTPClientFor returns an HTTP client which authenticates the given peer. If pid is empty, the client should work for any peer.
(pid peer.ID)
| 37 | // HTTPClientFor returns an HTTP client which authenticates the given peer. |
| 38 | // If pid is empty, the client should work for any peer. |
| 39 | HTTPClientFor(pid peer.ID) *http.Client |
| 40 | } |
| 41 | |
| 42 | type network struct { |
no outgoing calls