Method | Description | |
---|---|---|
SendNew ( byte data, System.DateTime lastModifiedTime, string fileName ) : System.Threading.Tasks.Task |
Sends the fresh static file.
|
|
SendNotModified ( System.DateTime lastModifiedTime, string fileName ) : System.Threading.Tasks.Task |
Sends the not modified static file response.
|
|
StaticFileResponse ( IOwinResponse response, IResponseWriter responseWriter ) : System |
Initializes a new instance of the StaticFileResponse class.
|
Method | Description | |
---|---|---|
SetMimeType ( string fileName ) : void |
Sets the MIME type of response.
|
|
SetModificationHeaders ( System.DateTime lastModifiedTime ) : void |
public SendNew ( byte data, System.DateTime lastModifiedTime, string fileName ) : System.Threading.Tasks.Task | ||
data | byte | The data. |
lastModifiedTime | System.DateTime | The last modified time. |
fileName | string | Name of the file. |
return | System.Threading.Tasks.Task |
public SendNotModified ( System.DateTime lastModifiedTime, string fileName ) : System.Threading.Tasks.Task | ||
lastModifiedTime | System.DateTime | The last modified time. |
fileName | string | Name of the file. |
return | System.Threading.Tasks.Task |
public StaticFileResponse ( IOwinResponse response, IResponseWriter responseWriter ) : System | ||
response | IOwinResponse | The response. |
responseWriter | IResponseWriter | The response writer. |
return | System |