Skip to content

Commit 787293a

Browse files
committed
fix(readme): update example
1 parent 3735924 commit 787293a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ However you can override the environment or provide your own proxy server.
2323
```crystal
2424
host = URI.parse("https://www.google.com")
2525
client = ConnectProxy::HTTPClient.new(host)
26-
proxy = ConnectProxy.new(host, port, {username: "admin", password: "pass"})
26+
proxy = ConnectProxy.new("134.209.219.234", 80, {username: "admin", password: "pass"})
2727
client.set_proxy(proxy)
2828
response = client.exec("GET", "/")
2929
response.success?

0 commit comments

Comments
 (0)