Skip to content

Commit 900d81e

Browse files
committed
make WSclient_t * newClient(WEBSOCKETS_NETWORK_CLASS * TCPclient); public
1 parent 0ecef8c commit 900d81e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WebSocketsServer.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ class WebSocketsServerCore : protected WebSockets {
9898
void loop(void); // handle client data only
9999
#endif
100100

101+
WSclient_t * newClient(WEBSOCKETS_NETWORK_CLASS * TCPclient);
102+
101103
protected:
102104
String _origin;
103105
String _protocol;
@@ -116,8 +118,6 @@ class WebSocketsServerCore : protected WebSockets {
116118
uint32_t _pongTimeout;
117119
uint8_t _disconnectTimeoutCount;
118120

119-
WSclient_t * newClient(WEBSOCKETS_NETWORK_CLASS * TCPclient);
120-
121121
void messageReceived(WSclient_t * client, WSopcode_t opcode, uint8_t * payload, size_t length, bool fin);
122122

123123
void clientDisconnect(WSclient_t * client);

0 commit comments

Comments
 (0)