ESP3D/esp8266/webinterface.cpp
luc lebosse 5b9f3835b9 Add backbone for Web interface and Data Interface
Web Server listen on port 80
Data Bridge listen on port 8888 may need to allow configuration of this
port in settings - TBD
2015-04-17 23:02:28 +08:00

33 lines
1.0 KiB
C++

/*
webinterface.cpp - esp8266 configuration class
Copyright (c) 2014 Luc Lebosse. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "config.h"
#include "webinterface.h"
#include <WiFiClient.h>
#include <WiFiServer.h>
#include <ESP8266WebServer.h>
WEBINTERFACE_CLASS::WEBINTERFACE_CLASS (int port):WebServer(port)
{
}
WEBINTERFACE_CLASS web_interface(80);