Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Psr7\Server\ServerParamsTrait class

Trait ServerParamsTrait

Properties

protected $serverParams

Methods

Method addServerParam

public function addServerParam ( string $key , string $value ) : static

Method addServerParams

public function addServerParams ( array $serverParams ) : static

Param array $serverParams array<string, mixed>

Method getServerParams

public function getServerParams ( ) : array{remote_addr: string, remote_port: int}

Method setServerParams

public function setServerParams ( array $serverParams ) : static

Param array $serverParams array<string, mixed>

Method unsetServerParam

public function unsetServerParam ( string $key ) : static

Copyright 2022 the Swow contributors