PHP » GoLang |
login |
register |
about
|
GoLang EventHttpRequest::sendReplyStart
request it (330)
GoLang replacement for PHP's EventHttpRequest::sendReplyStart
[edit | history]
PHP EventHttpRequest::sendReplyStartPHP original manual for EventHttpRequest::sendReplyStart [ show | php.net ]EventHttpRequest::sendReplyStart(PECL event >= 1.4.0-beta) EventHttpRequest::sendReplyStart — Initiate a chunked reply Description
public
void
EventHttpRequest::sendReplyStart
(
int
$code
,
string
$reason
)Initiate a reply that uses Transfer-Encoding chunked . This allows the caller to stream the reply back to the client and is useful when either not all of the reply data is immediately available or when sending very large replies. The caller needs to supply data chunks with EventHttpRequest::sendReplyChunk() and complete the reply by calling EventHttpRequest::sendReplyEnd() . Parameters
Return ValuesNo value is returned. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|