Method | Description | |
---|---|---|
GetBinaryContent ( string request ) : byte[] |
Read file
|
|
GetContent ( string request ) : string |
Read file
|
|
IsAvailable ( string request ) : bool |
Check if file is found
|
|
IsDirectory ( string request ) : bool |
Checks if request points to a directory
|
|
SetBasePath ( string path ) : void |
Set a base path to work from
|
Method | Description | |
---|---|---|
GetFullPath ( string request ) : string |
Combines and unescapes the path for the request
|
|
GetRequestedPage ( string request ) : string |
Get the path for the page to send to the user
|
public GetBinaryContent ( string request ) : byte[] | ||
request | string | Request string |
return | byte[] |
public GetContent ( string request ) : string | ||
request | string | Request string |
return | string |
public IsAvailable ( string request ) : bool | ||
request | string | Request string |
return | bool |
public SetBasePath ( string path ) : void | ||
path | string | Base path |
return | void |