HorizonServer

HorizonServer

Facilitates interaction with a Horizon server instance.

Constructor

new HorizonServer(sdk, serverUrl, opts)

Create a new Horizon instance.

Source:
Parameters:
Name Type Description
sdk ShelfNetwork

Parent SDK instance.

serverUrl string

Horizon server instance URL.

opts Object
Name Type Attributes Description
allowHttp boolean <optional>

Allow connecting to http servers, default: false. This must be set to false in production deployments!

proxy Object <optional>

Proxy configuration. Look axios docs for more info

httpBasicAuth Object <optional>

HTTP basic auth credentials. Look axios docs for more info.

customHeaders Object <optional>

Custom headers for request.

Classes

HorizonServer

Members

account

Account details.

Source:

brokers

Brokers.

Source:

lots

Lots.

Source:

reviewableRequests

ReviewableRequests.

Source: