http_get_request_body_stream
(PECL pecl_http:0.22.0-1.5.5)
http_get_request_body_stream — Get request body as stream
說明
resource http_get_request_body_stream
( void
)
Create a stream to read the raw request body (e.g. POST or PUT data).
This function can only be used once if the request method was another than POST.
參數
Return值
Returns the raw request body as stream on success or NULL on failure.
參見
- http_get_request_body()
- http_get_request_headers()
- the HttpResponse class if you are using PHP-5.1 and above