HttpRequest::setContentType
(PECL pecl_http >= 0.10.0)
HttpRequest::setContentType — İstek içerik türünü belirler
Açıklama
public
bool HttpRequest::setContentType
( string $içerik_türü
)
Post isteğinin içerik türünü belirler.
Değiştirgeler
- içerik_türü
-
İsteğinin (birincil/ikincil) içerik türü.
Dönen Değerler
Başarı durumunda TRUE döner. Aksi takdirde, içerik türü birincil veya ikincil parçaları içeriyor gibi görünmüyorsa FALSE döner.
HttpRequest::setContentType
There are no user contributed notes for this page.
