= 1.9.0)Swoole\Http\Client::setHeaders — Set the HTTP request headers.說明public Swoole\Http\Client::setHead">

Swoole\Http\Client::setHeaders

(PECL swoole >= 1.9.0)

Swoole\Http\Client::setHeadersSet the HTTP request headers.

說明

public Swoole\Http\Client::setHeaders(array $headers): void

參數(shù)

headers

返回值