Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
Deprecated List
Member DateTime::convertFromUnixTime (time_t timep, int8_t *psec, int8_t *pmin, int8_t *phour, int8_t *pday, int8_t *pwday, int8_t *pmonth, int16_t *pyear) SMING_DEPRECATED
Use fromUnixTime(time_t, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint16_t*) instead
Member DateTime::convertToUnixTime (uint8_t sec, uint8_t min, uint8_t hour, uint8_t day, uint8_t month, uint16_t year) SMING_DEPRECATED
Use 'toUnixTime()' instead
Member DateTime::fromUnixTime (time_t timep, int8_t *psec, int8_t *pmin, int8_t *phour, int8_t *pday, int8_t *pwday, int8_t *pmonth, int16_t *pyear) SMING_DEPRECATED
Use unsigned version instead fromUnixTime(time_t, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint16_t*)
Member DateTime::parseHttpDate (const String &httpDate) SMING_DEPRECATED
Use fromHttpDate() instead
Member FileStream::attach (const String &fileName, FileOpenFlags openFlags=eFO_ReadOnly) SMING_DEPRECATED
Use open() instead
Class Hardware_Timer
Use HardwareTimer class instead
Member HttpClient::request (const String &url) SMING_DEPRECATED
Use createRequest() instead
Member HttpConnection::getLastModifiedDate () const SMING_DEPRECATED
Use getResponse()->headers.getLastModifiedDate() instead
Member HttpConnection::getResponseCode () const SMING_DEPRECATED
Use getResponse()->code instead
Member HttpConnection::getResponseHeader (const String &headerName, const String &defaultValue=nullptr) const SMING_DEPRECATED
Use getResponse()->headers[] instead
Member HttpConnection::getResponseHeaders () SMING_DEPRECATED
Use getResponse()->headers instead
Member HttpConnection::getResponseString () SMING_DEPRECATED
Use getResponse()->getBody() instead
Member HttpConnection::getServerDate () const SMING_DEPRECATED
Use getResponse()->headers.getServerDate() instead
Member HttpRequest::getPath () SMING_DEPRECATED
Use uri.Path instead
Member HttpRequest::operator= (const HttpRequest &rhs) SMING_DEPRECATED
Please use clone() instead
Member HttpRequest::setPostParameters (const HttpParams &params) SMING_DEPRECATED
Set postParams directly, i.e. request.postParams = params
Member HttpResponse::forbidden () SMING_DEPRECATED
Use response.code = HTTP_STATUS_FORBIDDEN instead
Member HttpResponse::hasHeader (const String &name) SMING_DEPRECATED
Use headers.contains() instead
Member HttpResponse::notFound () SMING_DEPRECATED
Use response.code = HTTP_STATUS_NOT_FOUND instead
Member HttpResponse::redirect (const String &location) SMING_DEPRECATED
Use headers[HTTP_HEADER_LOCATION] instead
Member HttpResponse::sendJsonObject (JsonObjectStream *newJsonStreamInstance) SMING_DEPRECATED
Use response.sendDataStream(stream, MIME_JSON) instead
Member HttpServer::addPath (const String &path, HttpResource *resource) SMING_DEPRECATED
Use paths.set() instead
Member HttpServer::addPath (String path, const HttpPathDelegate &callback) SMING_DEPRECATED
Use paths.set() instead
Member HttpServer::addPath (const String &path, const HttpResourceDelegate &onRequestComplete) SMING_DEPRECATED
Use paths.set() instead
Member HttpServer::setDefaultHandler (const HttpPathDelegate &callback) SMING_DEPRECATED
Use paths.setDefault() instead
Member HttpServer::setDefaultResource (HttpResource *resource) SMING_DEPRECATED
Use paths.setDefault() instead
Member IDataSourceStream::length () SMING_DEPRECATED
Use available() instead
Member MQTT_MAX_BUFFER_SIZE
Member MQTT_MSG_PUBREC
Member MqttMessageDeliveredCallback
Use MqttDelegate instead
Member MqttStringSubscriptionCallback
Use MqttDelegate instead
Member SMING_DEPRECATED

Use FtpServer instead

Use Url instead

Member StreamTransformer::StreamTransformer (IDataSourceStream *stream, const StreamTransformerCallback &callback, size_t resultSize=256, size_t blockSize=64) SMING_DEPRECATED
Create inherited class, override transform() method and use alternative constructor instead
Member StreamTransformer::transformCallback
Create inherited class and verride transform() method instead
Member TcpConnection::freeSslClientKeyCert () SMING_DEPRECATED
Use freeSslKeyCert() instead
Member TcpConnection::setSslClientKeyCert (const uint8_t *key, int keyLength, const uint8_t *certificate, int certificateLength, const char *keyPassword=nullptr, bool freeAfterHandshake=false) SMING_DEPRECATED
Use setSslKeyCert(const uint8_t*, int, const uint8_t*, int, const char*, bool) instead
Member TcpConnection::setSslClientKeyCert (const SslKeyCertPair &clientKeyCert, bool freeAfterHandshake=false) SMING_DEPRECATED
Use setSslKeyCert(const SslKeyCertPair&, bool) instead
Member TcpServer::setServerKeyCert (const SslKeyCertPair &serverKeyCert) SMING_DEPRECATED
Use setSslKeyCert() instead
Member TcpServer::totalConnections
not updated by framework
Member Timer::initializeMs (uint32_t milliseconds, TimerDelegate delegateFunction=nullptr) SMING_DEPRECATED
Use initializeMs(uint32_t, TimerDelegateStdFunction) instead
Member Timer::initializeUs (uint32_t microseconds, TimerDelegate delegateFunction=nullptr) SMING_DEPRECATED
Use initializeMs(uint32_t, TimerDelegateStdFunction) instead
Member WebsocketClient::disconnect () SMING_DEPRECATED
Use close() instead