Sisk

Method

HttpFileServerFileConverter.Convert

Namespace
Sisk.Core.Http.FileSystem
Assembly
Sisk.Core.dll

Convert(FileInfo, HttpRequest) #

Converts the specified file into an HTTP response.

C#
public abstract HttpResponse Convert(FileInfo file, HttpRequest request)

Parameters #

file FileInfo

The file to convert.

request HttpRequest

The current HTTP request.

Returns #

HttpResponse

An HttpResponse representing the converted file.

Type to search the documentation and the API reference.