C# Class Webserver.Responses.FileResponse

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

Public Methods

Method 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

Method Description
CheckFileDirectoryExist ( string &filePath, bool &isDirectory ) : bool

Method Details

ConditionsCheckAndDataFill() public method

File response has no conditions
public ConditionsCheckAndDataFill ( Request e ) : bool
e Request
return bool

FileResponse() public method

public FileResponse ( String name = "FileResponse" ) : System
name String
return System

SendResponse() public method

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