The latest development version of this page may be more current than this released 2.7.5 version.

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:39subsys/net/Kconfig:91subsys/net/lib/Kconfig:16

Menu path: (Top) → Sub Systems and OS Services → 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.)