1# Copyright (c) 2019 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig 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_MAC_SHA1_ENABLED if MBEDTLS_BUILTIN
13	select EXPERIMENTAL
14	help
15	  Enable Websocket client library.
16
17if WEBSOCKET_CLIENT
18
19config WEBSOCKET_MAX_CONTEXTS
20	int "Max number of websockets to allocate"
21	default 1
22	help
23	  How many Websockets can be created in the system.
24
25module = NET_WEBSOCKET
26module-dep = NET_LOG
27module-str = Log level for Websocket
28module-help = Enable debug message of Websocket client library.
29source "subsys/net/Kconfig.template.log_config.net"
30
31endif
32