mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-17 09:12:05 +02:00
Remove redundant method header and fix indent
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* WebSocketClientSockJsAndStomp.ino
|
||||
*
|
||||
* Example for connecting and maintining a connection with a SockJS+STOMP websocket connection.
|
||||
* In this example we connect to a Spring application (see https://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html).
|
||||
*
|
||||
* Created on: 18.07.2017
|
||||
* Author: Martin Becker <mgbckr>, Contact: becker@informatik.uni-wuerzburg.de
|
||||
WebSocketClientSockJsAndStomp.ino
|
||||
|
||||
Example for connecting and maintining a connection with a SockJS+STOMP websocket connection.
|
||||
In this example we connect to a Spring application (see https://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html).
|
||||
|
||||
Created on: 18.07.2017
|
||||
Author: Martin Becker <mgbckr>, Contact: becker@informatik.uni-wuerzburg.de
|
||||
*/
|
||||
|
||||
// PRE
|
||||
@ -52,8 +52,8 @@ void webSocketEvent(WStype_t type, uint8_t * payload, size_t length) {
|
||||
USE_SERIAL.printf("[WSc] Connected to url: %s\n", payload);
|
||||
}
|
||||
break;
|
||||
case WStype_TEXT: {
|
||||
|
||||
case WStype_TEXT:
|
||||
{
|
||||
// #####################
|
||||
// handle STOMP protocol
|
||||
// #####################
|
||||
|
@ -82,7 +82,6 @@ class WebSocketsClient: private WebSockets {
|
||||
void setAuthorization(const char * auth);
|
||||
|
||||
void setExtraHeaders(const char * extraHeaders = NULL);
|
||||
void setExtraHeaders(char * extraHeaders);
|
||||
|
||||
protected:
|
||||
String _host;
|
||||
|
Reference in New Issue
Block a user