#ifndef Connectivity_h
#define Connectivity_h

#include "Arduino.h"
#include <WebSocketsClient.h>
#include <ArduinoWiFiServer.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiGeneric.h>
#include <ESP8266WiFiGratuitous.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266WiFiSTA.h>
#include <ESP8266WiFiScan.h>
#include <ESP8266WiFiType.h>
#include <WiFiClient.h>
#include <WiFiServer.h>
#include <WiFiServerSecure.h>
#include <WiFiUdp.h>

class Connectivity {
public:
  void connectWiFi(char* ssid, char* pass);
  void websocketSetup();
  void sendData(float roll, float pitch, float yaw);

private:
  ESP8266WiFiMulti wifi;
  WebSocketsClient webSocket;
};

#endif