hub.network.settings.set
- Version: 1.0
- Classes: ANY
- Configure network manager or network interface
- Description: This request allows to change some network settings which may or may not lead to immediate changes of network.
Edit
| Field | Type | Required | Description |
|---|---|---|---|
| interfaceId | string | – | Id of an interface. Empty interface means common settings (settings for network manager itself). |
| settings | object | + | Settings specific to an interface or common settings. |
Edit
- Return empty result or error. Errors can be interface specific.
Edit
| Code | Message | Data |
|---|---|---|
| -32500 | Invalid interface id | network.invalid.interface |
| -32600 | Bad request, settings does not exist | rpc.params.notfound.settings |