Class Httpfs

Httpfs Class

Description

A class used HTTP File Server.

Syntax

class Httpfs

Members

Public Constructors

Httpfs::Httpfs

Constructs a Httpfs object.

Public Methods

Httpfs::begin

Initializes the HTTP file server, set parameter, response callback function of the file server.

Httpfs::mp4DirectoryInit

Initializes the directory to save MP4 recordings on SD card.

Httpfs::end

Deinitializes the HTTP file server.

Httpfs::begin

Description

Initializes the HTTP file server, set parameter, response callback function of the file server.

Syntax

void begin(void);

Parameters

NA

Returns

NA

Example Code

Example: Httpfs_mp4

Httpfs::mp4DirectoryInit

Description

Initializes the directory to save MP4 recordings on SD card.

Syntax

void mp4DirectoryInit(void);

Parameters

NA

Returns

NA

Example Code

Example: Httpfs_mp4

Httpfs::end

Description

Deinitializes the HTTP file server.

Syntax

void end(void);

Parameters

NA

Returns

NA

Example Code

Example: Httpfs_mp4