We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c5fafb + 09c5309 commit 397e6a1Copy full SHA for 397e6a1
src/WebSocketClient.h
@@ -8,6 +8,10 @@
8
9
#include "HttpClient.h"
10
11
+#ifndef WS_TX_BUFFER_SIZE
12
+ #define WS_TX_BUFFER_SIZE 128
13
+#endif
14
+
15
static const int TYPE_CONTINUATION = 0x0;
16
static const int TYPE_TEXT = 0x1;
17
static const int TYPE_BINARY = 0x2;
@@ -86,7 +90,7 @@ class WebSocketClient : public HttpClient
86
90
private:
87
91
bool iTxStarted;
88
92
uint8_t iTxMessageType;
89
- uint8_t iTxBuffer[128];
93
+ uint8_t iTxBuffer[WS_TX_BUFFER_SIZE];
94
uint64_t iTxSize;
95
96
uint8_t iRxOpCode;
0 commit comments