Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 1.65 KB

File metadata and controls

77 lines (53 loc) · 1.65 KB

HttpDownloadFileHandler

  • класс HttpDownloadFileHandler (php\http\HttpDownloadFileHandler) унаследован от HttpAbstractHandler
  • пакет http
  • исходники php/http/HttpDownloadFileHandler.php

Описание

Class HttpDownloadFileHandler


Методы


Методы

__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