add Service

open fun addService(host: BrownieHost, serviceName: String, hPayload: JsonHelper)

Method used to add a service to a host

Parameters

host

The host owner of the service

serviceName

The name of the service to add

hPayload

The JSON payload with the service information

Throws

when an error occurred during the execution