ScummVM API documentation
Networking::UploadFileClientHandler Class Reference

#include <uploadfileclienthandler.h>

Inheritance diagram for Networking::UploadFileClientHandler:
Networking::ClientHandler

Public Member Functions

 UploadFileClientHandler (const Common::Path &parentDirectoryPath)
 
void handle (Client *client) override
 

Detailed Description

This class handles POST form/multipart upload.

handleBlockHeaders() looks for filename and, if it's found, handleBlockContent() saves content into the file with such name.

If no file found or other error occurs, it sets default error message handler.


The documentation for this class was generated from the following file: