CONFIG_WEBSOCKET_MAX_CONTEXTS

Max number of websockets to allocate

Type: int

Help

How many Websockets can be created in the system.

Direct dependencies

WEBSOCKET_CLIENT && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At subsys/net/lib/websocket/Kconfig:17

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:82subsys/net/lib/Kconfig:14

Menu path: (Top) → Networking → Link layer and IP networking support → Network Protocols → Websocket client support [EXPERIMENTAL]

config WEBSOCKET_MAX_CONTEXTS
    int "Max number of websockets to allocate"
    default 1
    depends on WEBSOCKET_CLIENT && NETWORKING
    help
      How many Websockets can be created in the system.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)