Skip to content

Commit f0e5632

Browse files
updated BasicSendWithRetry
1 parent 10fac4c commit f0e5632

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/src/main/java/examples/basic/BasicSendWithRetry.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ public SendResponse RunExample () throws Exception {
2727
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("127.0.0.1", 4433));
2828

2929
// create the client
30-
// SocketLabsClient client = new SocketLabsClient(37371, "q2QFw9b3KAr6e4S7DsWo");
31-
SocketLabsClient client = new SocketLabsClient(ExampleConfig.ServerId, ExampleConfig.ApiKey);
32-
client.setEndPointUrl("http://127.0.0.1:5000/");
30+
SocketLabsClient client = new SocketLabsClient(ExampleConfig.ServerId, ExampleConfig.ApiKey, proxy);
3331
client.setRequestTimeout(5);
3432
client.setNumberOfRetries(2);
3533

0 commit comments

Comments
 (0)