We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1961ddc + 7361e2b commit 958ab08Copy full SHA for 958ab08
src/WebSockets.h
@@ -52,13 +52,15 @@
52
// max size of the WS Message Header
53
#define WEBSOCKETS_MAX_HEADER_SIZE (14)
54
55
+#if !defined(WEBSOCKETS_NETWORK_TYPE)
56
// select Network type based
57
#if defined(ESP8266) || defined(ESP31B)
58
#define WEBSOCKETS_NETWORK_TYPE NETWORK_ESP8266
59
//#define WEBSOCKETS_NETWORK_TYPE NETWORK_ESP8266_ASYNC
60
#else
61
#define WEBSOCKETS_NETWORK_TYPE NETWORK_W5100
62
#endif
63
+#endif
64
65
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266_ASYNC)
66
0 commit comments