Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HttpResponse Handle(HttpRequest)

Declaration

public HttpResponse Handle(
    HttpRequest request
)

Summary

Returns an HttpResponse that handles the specified request, either by delivering a file from the local file system, or by listing the contents of a directory in the local file system. The file or directory served is determined from the configured FileSystemHandler.BaseDirectory and the HttpRequest.Url of the specified request.

Parameters

HttpRequestrequest HTTP request from the client.

Returns

An HttpResponse encapsulating the file transfer or directory listing.