EventBufferEvent::writeBuffer

(PECL event >= 1.2.6-beta)

EventBufferEvent::writeBufferAdds contents of the entire buffer to a buffer event's output buffer

说明

public EventBufferEvent::writeBuffer ( EventBuffer $buf ) : bool

Adds contents of the entire buffer to a buffer event's output buffer

参数

buf

Source EventBuffer object.

返回值

Returns TRUE on success. Otherwise FALSE.

参见

相关文章
php eventbuffer re enable calls that modify an event bufferphp eventbuffer write contents of the buffer to a file or socketphp eventbufferevent closes file descriptor associated with the current buffer eventphp eventbufferevent connect buffer event s file descriptor to given address or unix socketphp eventbufferevent disable events read write or both on a buffer eventphp eventbufferevent enable events read write or both on a buffer eventphp eventbufferevent free a buffer eventphp eventbufferevent returns bitmask of events currently enabled on the buffer eventphp eventbufferevent returns underlying input buffer associated with current buffer eventphp eventbufferevent returns underlying output buffer associated with current buffer eventphp eventbufferevent read buffer s dataphp eventbufferevent drains the entire contents of the input buffer and places them into bufphp eventbufferevent set the read and write timeout for a buffer eventphp eventbufferevent returns most recent openssl error reported on the buffer eventphp eventbufferevent create a new ssl buffer event to send its data over another buffer eventphp eventbufferevent creates a new ssl buffer event to send its data over an ssl on a socketphp eventbufferevent adds data to a buffer event s output bufferphp eventbufferevent adds contents of the entire buffer to a buffer event s output bufferphp eventhttprequest returns the output buffer of the requestphp output control 函数 在ob start中使用的用来压缩输出缓冲区中内容的回调函数。ob start callback function to gzip output buffer
关注编程学问公众号