Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 1.56 KB

File metadata and controls

77 lines (53 loc) · 1.56 KB

HttpDownloadFileHandler

  • class HttpDownloadFileHandler (php\http\HttpDownloadFileHandler) extends HttpAbstractHandler
  • package http
  • source php/http/HttpDownloadFileHandler.php

Description

Class HttpDownloadFileHandler


Methods


Methods

__construct()

__construct(string|File $file, string|null $fileName, string|null $contentType): void

HttpDownloadFileHandler constructor.


file()

file(): php\io\File

fileName()

fileName(): string

contentType()

contentType(): string

reset()

reset(string|File $file, string|null $fileName, string|null $contentType): void

__invoke()

__invoke(php\http\HttpServerRequest $request, php\http\HttpServerResponse $response): bool