Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
thehung111 committed May 2, 2018
1 parent 794a74d commit cc7c22b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ client = ViSearchClient(baseUrl: yourUrl, accessKey: accessKey, secret: secret)
...
```

Please init ViSearch client in this way if you connect to another endpoint rather than default (https://visearch.visenze.com)

```
client = ViSearchClient(baseUrl: "https://custom-visearch.yourdomain.com", accessKey: accessKey, secret: secret)
```

By default, API search requests will timeout after 10s. To change the timeout, you can configure the client as below:

```swift
Expand Down

0 comments on commit cc7c22b

Please sign in to comment.