C# Class TerrificNet.Controllers.StaticFileController

Inheritance: ApiController
Show file Open project: namics/TerrificNet

Public Methods

Method Description
Get ( string path ) : HttpResponseMessage
StaticFileController ( IFileSystem fileSystem, ServerConfiguration serverConfiguration ) : System

Protected Methods

Method Description
GetInternal ( string path ) : HttpResponseMessage

Private Methods

Method Description
GetMimeType ( string extension ) : string

Method Details

Get() public method

public Get ( string path ) : HttpResponseMessage
path string
return System.Net.Http.HttpResponseMessage

GetInternal() protected method

protected GetInternal ( string path ) : HttpResponseMessage
path string
return System.Net.Http.HttpResponseMessage

StaticFileController() public method

public StaticFileController ( IFileSystem fileSystem, ServerConfiguration serverConfiguration ) : System
fileSystem IFileSystem
serverConfiguration TerrificNet.Configuration.ServerConfiguration
return System