update : 2015.11.03
php.shukuma.com

검색:
 
 
Set put data

HttpRequest::setPutData

(PECL pecl_http >= 0.25.0)

HttpRequest::setPutDataSet put data

설명

public bool HttpRequest::setPutData ([ string $put_data ] )

Set PUT data to send, overwriting previously set PUT data.

Affects only PUT requests.

Only either PUT data or PUT file can be used for each request. PUT data has higher precedence and will be used even if a PUT file is set.

인수

put_data

the data to upload

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.