Skip to content
LogoLogo

setServiceEndpoint

Set the ocean-node serving this service.

Required: build() fails without it. Changing it on a published service means the file object must be re-encrypted by the new node, which gives the service a new id.

Usage

.('https://node.example.org') 

Returns

The service builder instance, to chain further calls with.