Swoole\Http\Client::setData

Set the HTTP request body data.

説明

public ReturnType Swoole\Http\Client::setData(string $data)

The HTTP method will be changed to be POST.

パラメータ

data

戻り値