Port

A whole number in range from 1 to 65535

Specification

validate

  • Type: Object

  • Specifies parameter validation.

  • Available parameters:

Parameter
Type
Specification

max

number

Specifies maximum numberic value.

min

number

Specifies minimum numberic value.

nested

  • Available types:

Type
Specification

array

Provides an array of nested parameters which are shown when the value of the parameter is set (value is not empty).

string

Provides URL address of an RPC to load list of nested parameters.

object

Provides a detailed specification of nested parameters.

Usage of nested fields:

{
    "name": "myPort",
    "type": "port",
    "label": "My Port",
    "nested": "rpc://getNestedFields"
}

Examples

Basic Numeric Input

Example of Port Parameter

For more examples, you may visit the Integer, Uinteger specification.

Last updated