Skip to content

Latest commit

 

History

History
113 lines (79 loc) · 2.16 KB

File metadata and controls

113 lines (79 loc) · 2.16 KB

HttpResourceHandler

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

Методы


Методы

__construct()

__construct(string|File $file): void

HttpFileDirectoryHandler constructor.


file()

file(string|File $file): string

etags()

etags(bool $value): bool

acceptRanges()

acceptRanges(bool $value): bool

dirAllowed()

dirAllowed(bool $value): bool

directoriesListed()

directoriesListed(bool $value): bool

pathInfoOnly()

pathInfoOnly(bool $value): bool

redirectWelcome()

redirectWelcome(bool $value): bool

cacheControl()

cacheControl(string $value): string

__invoke()

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