downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpResponse::setCache> <HttpResponse::send
[edit] Last updated: Fri, 07 Jun 2013

view this page in

HttpResponse::setBufferSize

(PECL pecl_http >= 0.10.0)

HttpResponse::setBufferSizeSet buffer size

Descrierea

static bool HttpResponse::setBufferSize ( int $bytes )

Sets the send buffer size of the throttling mechanism.

Notă: Oferă un mecanism de limitare de bază, care va suspenda procesul sau firul de execuție curent până când entitatea nu este transmisă deplin.

Notă:

Aceasta poate să nu funcționeze conform așteptărilor cu următoarele SAPI(uri): FastCGI.

Parametri

bytes

the chunk size in bytes

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.

Vedeți de asemenea



add a note add a note User Contributed Notes HttpResponse::setBufferSize - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites