Skip to content

Plugin Options

Properties

Name Type Description Required
port integer
host string Interface the WebSocket server binds to. Defaults to 127.0.0.1, so the server is only reachable from the local machine.
allowedOrigins string[] Browser origins that are allowed to connect. Connections from any other origin are rejected. Defaults to none.
allowUnauthenticatedPlugins boolean Unauthenticated mode for local development: accept remote plugins that are not listed under “plugins” or have no token. Only allowed if “host” is a loopback address. Defaults to false.
maxPayload integer Largest message in bytes the server accepts from a remote plugin. Defaults to 33554432 (32 MiB).
Minimum: 1
clientTimeout integer Milliseconds a connected remote plugin has to complete the handshake (register and ready). Defaults to 4000.
Minimum: 1
plugins object[]

Additional Properties: not allowed 
Example

{
"plugins": [
{
"options": {}
}
]
}

allowedOrigins[]: array

Items

Item Type: string 

plugins[]: array

Items

Item Properties

Name Type Description Required
name string Minimal Length: 1
yes
required boolean no
token string Shared secret the remote plugin sends as “Authorization: Bearer ” header. Required unless “allowUnauthenticatedPlugins” is enabled.
Minimal Length: 1
no
options object yes

Item Additional Properties: not allowed 
Example

[
{
"options": {}
}
]

plugins[].options: object

Additional Properties: allowed