Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Clarify client constructor host option #107

Open
danielmewes opened this issue Aug 4, 2016 · 0 comments
Open

Clarify client constructor host option #107

danielmewes opened this issue Aug 4, 2016 · 0 comments
Assignees

Comments

@danielmewes
Copy link
Member

Feedback from @ejsuncy rethinkdb/horizon#725:

The client Horizon model has a constructor that takes an object of option keys and values, one of which is host. It is not apparent from the docs here that the host option is a string that includes the port number if applicable. Perhaps providing an example or two there such as 'host':'localhost:8181' would be more helpful, as I had to dig in to the source to find the constructor of the Horizon object.

I bring this up because I'm developing my web app and using BrowserSync, which serves the static files on port 5555, for example. I'm also using horizon on 8181, and I need to override the default port that Horizon client tries to connect to (in this case, the default was port 5555).

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants