Req.netrc

You're seeing just the function netrc, go back to Req module for more information.

Sets request authentication for a matching host from a netrc file.

Examples

iex> Req.get!("https://httpbin.org/basic-auth/foo/bar").status
401
iex> Req.get!("https://httpbin.org/basic-auth/foo/bar", netrc: true).status
200
iex> Req.get!("https://httpbin.org/basic-auth/foo/bar", netrc: "/path/to/custom_netrc").status
200