DiskResponses extension
Laravel's Storage::download() and Storage::response(). These live on
the http side because storage depends on nothing but foundation.
- on
Methods
-
download(
String path, {String? name, Map< String, String> ? headers, Request? request}) → Future<Response> -
Available on Disk, provided by the DiskResponses extension
The file atpathas an attachment. -
response(
String path, {String? name, Map< String, String> ? headers, Request? request}) → Future<Response> -
Available on Disk, provided by the DiskResponses extension
The file atpath, shown by the browser; withrequest, ranges too.