C# Class Webserver.Responses.FileResponse

Standard response sending file to client If filename is a directory, a directory-overview will be displayed
Inheritance: Response
Afficher le fichier Open project: h07r0d/Netduino-Aquarium-Controller

Méthodes publiques

Méthode Description
ConditionsCheckAndDataFill ( Request e ) : bool

File response has no conditions

FileResponse ( String name = "FileResponse" ) : System
SendResponse ( Request e ) : bool

Depending on the requested path, a file, a directory-overview or a 404-error will be returned

Private Methods

Méthode Description
CheckFileDirectoryExist ( string &filePath, bool &isDirectory ) : bool

Method Details

ConditionsCheckAndDataFill() public méthode

File response has no conditions
public ConditionsCheckAndDataFill ( Request e ) : bool
e Request
Résultat bool

FileResponse() public méthode

public FileResponse ( String name = "FileResponse" ) : System
name String
Résultat System

SendResponse() public méthode

Depending on the requested path, a file, a directory-overview or a 404-error will be returned
public SendResponse ( Request e ) : bool
e Request
Résultat bool