mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Follow up to #1070:
- Adding information in README for socketPath when used with a proxy - Adding an HTTP test for socketPath option
This commit is contained in:
@@ -315,6 +315,8 @@ These are the available config options for making requests. Only the `url` is re
|
||||
|
||||
// `socketPath` defines a UNIX Socket to be used in node.js.
|
||||
// e.g. '/var/run/docker.sock' to send requests to the docker daemon.
|
||||
// Only either `socketPath` or `proxy` can be specified.
|
||||
// If both are specified, `socketPath` is used.
|
||||
socketPath: null, // default
|
||||
|
||||
// `httpAgent` and `httpsAgent` define a custom agent to be used when performing http
|
||||
|
||||
Reference in New Issue
Block a user