HttpRequest::setPutFile
(PECL pecl_http:0.10.0-1.5.5)
HttpRequest::setPutFile — Set put file
설명
public
bool HttpRequest::setPutFile
([ string $file
] )
Set file to put. Affects only PUT requests.
매개변수
- file
-
the path to the file to send; if empty or omitted the put file will be unset
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.