File


Description:

public File (File file, string? content_type = null)

Create a File view, to the file provided. A content type may be provided, but will attempt to detect if one is not provided.

Parameters:

file File object.
content_type Optional MIME content type.