1# Copyright (c) 2019 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4config WEBSOCKET_CLIENT
5	bool "Websocket client support [EXPERIMENTAL]"
6	select NET_SOCKETS
7	select HTTP_PARSER
8	select HTTP_PARSER_URL
9	select HTTP_CLIENT
10	select MBEDTLS
11	select BASE64
12	select MBEDTLS_SHA1 if MBEDTLS_BUILTIN
13	select EXPERIMENTAL
14	help
15	  Enable Websocket client library.
16
17config WEBSOCKET
18	bool
19	default y if WEBSOCKET_CLIENT
20	help
21	  Helper symbol for generic Websocket support.
22
23if WEBSOCKET_CLIENT
24
25config WEBSOCKET_MAX_CONTEXTS
26	int "Max number of websockets to allocate"
27	default SHELL_WEBSOCKET_BACKEND_COUNT if SHELL_BACKEND_WEBSOCKET
28	default 1
29	help
30	  How many Websockets can be created in the system.
31
32module = NET_WEBSOCKET
33module-dep = NET_LOG
34module-str = Log level for Websocket
35module-help = Enable debug message of Websocket client library.
36source "subsys/net/Kconfig.template.log_config.net"
37
38endif
39