Skip to content

Latest commit

 

History

History
287 lines (200 loc) · 3.67 KB

File metadata and controls

287 lines (200 loc) · 3.67 KB

HttpServerRequest

  • class HttpServerRequest (php\http\HttpServerRequest)
  • package http
  • source php/http/HttpServerRequest.php

Description

Class HttpServerRequest


Methods


Methods

__construct()

__construct(): void

end()

end(): void

Stop handle requests.


httpVersion()

httpVersion(): string

protocol()

protocol(): string

http, https


header()

header(string $name): string

headers()

headers(bool $lowerKeys): array

cookie()

cookie(string $name): array

cookies()

cookies(): array

param()

param(string $name): string

attribute()

attribute(string $name, mixed $value): mixed

query()

query(string $name): string

queryEncoding()

queryEncoding(): string

queryParameters()

queryParameters(): array

path()

path(): string

method()

method(): string

sessionId()

sessionId(): string

localAddress()

localAddress(): string

localPort()

localPort(): int

localName()

localName(): string

remoteAddress()

remoteAddress(): string

remoteUser()

remoteUser(): string

remoteHost()

remoteHost(): string

remotePort()

remotePort(): string

locale()

locale(): php\util\Locale

locales()

locales(): Locale[]

bodyStream()

bodyStream(): php\io\Stream

getParts()

getParts(): HttpPart[]