GoLang Swoole\Http\Client::setHeaders

request it (361)
GoLang replacement for PHP's Swoole\Http\Client::setHeaders [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Http\Client::setHeaders? Write it!

PHP Swoole\Http\Client::setHeaders

PHP original manual for Swoole\Http\Client::setHeaders [ show | php.net ]

Swoole\Http\Client::setHeaders

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Description

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

Parameters

headers

Return Values