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 1
28	help
29	  How many Websockets can be created in the system.
30
31module = NET_WEBSOCKET
32module-dep = NET_LOG
33module-str = Log level for Websocket
34module-help = Enable debug message of Websocket client library.
35source "subsys/net/Kconfig.template.log_config.net"
36
37endif
38