Rename struct to class (to help new C++ users who are unfamiliar that structs are classes).
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@
|
||||
|
||||
namespace easywsclient {
|
||||
|
||||
struct WebSocket {
|
||||
class WebSocket {
|
||||
public:
|
||||
typedef WebSocket * pointer;
|
||||
typedef enum readyStateValues { CLOSING, CLOSED, CONNECTING, OPEN } readyStateValues;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user