Skip to content

File WebServer.h

FileList > arduino > libraries > ext > WebServer > WebServer.h

Go to the source code of this file.

  • #include "HTTP_Method.h"
  • #include "Uri.h"
  • #include <WiFi.h>
  • #include <functional>
  • #include <memory>
  • #include "detail/RequestHandler.h"

Namespaces

Type Name
namespace fs

Classes

Type Name
struct HTTPUpload
class WebServer

Public Types

Type Name
enum HTTPAuthMethod
enum HTTPClientStatus
enum HTTPUploadStatus

Macros

Type Name
define CONTENT_LENGTH_NOT_SET ((size_t)-2)
define CONTENT_LENGTH_UNKNOWN ((size_t)-1)
define HTTP_DOWNLOAD_UNIT_SIZE 1436
define HTTP_MAX_CLOSE_WAIT 2000
define HTTP_MAX_DATA_WAIT 5000
define HTTP_MAX_POST_WAIT 5000
define HTTP_MAX_SEND_WAIT 5000
define HTTP_UPLOAD_BUFLEN 1436

Public Types Documentation

enum HTTPAuthMethod

enum HTTPAuthMethod {
    BASIC_AUTH,
    DIGEST_AUTH
};

enum HTTPClientStatus

enum HTTPClientStatus {
    HC_NONE,
    HC_WAIT_READ,
    HC_WAIT_CLOSE
};

enum HTTPUploadStatus

enum HTTPUploadStatus {
    UPLOAD_FILE_START,
    UPLOAD_FILE_WRITE,
    UPLOAD_FILE_END,
    UPLOAD_FILE_ABORTED
};

Macro Definition Documentation

define CONTENT_LENGTH_NOT_SET

#define CONTENT_LENGTH_NOT_SET ((size_t)-2)

define CONTENT_LENGTH_UNKNOWN

#define CONTENT_LENGTH_UNKNOWN ((size_t)-1)

define HTTP_DOWNLOAD_UNIT_SIZE

#define HTTP_DOWNLOAD_UNIT_SIZE 1436

define HTTP_MAX_CLOSE_WAIT

#define HTTP_MAX_CLOSE_WAIT 2000

define HTTP_MAX_DATA_WAIT

#define HTTP_MAX_DATA_WAIT 5000

define HTTP_MAX_POST_WAIT

#define HTTP_MAX_POST_WAIT 5000

define HTTP_MAX_SEND_WAIT

#define HTTP_MAX_SEND_WAIT 5000

define HTTP_UPLOAD_BUFLEN

#define HTTP_UPLOAD_BUFLEN 1436

The documentation for this class was generated from the following file cores/common/arduino/libraries/ext/WebServer/WebServer.h