Merged
Merged
Conversation
|
|
||
| Note that this method should not be confused with the `end()` method. | ||
| Unlike the `end()` method, this method does not take care of any existing | ||
| buffers and simply discards an buffer contents. |
| the buffer, then close it. | ||
| If this stream is a `DuplexStreamInterface`, you should also notice | ||
| how the readable side of the stream also implements a `close()` method. | ||
| In other words, afer calling this method, the stream MUST switch into |
| * $stream->close(); | ||
| * ``` | ||
| * | ||
| * Afer calling this method, the stream MUST switch into a non-readable |
| * | ||
| * If this stream is a `DuplexStreamInterface`, you should also notice | ||
| * how the writable side of the stream also implements a `close()` method. | ||
| * In other words, afer calling this method, the stream MUST switch into |
| $stream->close(); | ||
| ``` | ||
|
|
||
| Afer calling this method, the stream MUST switch into a non-writable |
| * will be received with the exact same framing the sender intended to send. | ||
| * In other words, many lower-level protocols (such as TCP/IP) transfer the | ||
| * data in chunks that may be anywhere between single-byte values to several | ||
| * dozens of Kilobytes. You may want to apply a higher-level protocol to |
| will be received with the exact same framing the sender intended to send. | ||
| In other words, many lower-level protocols (such as TCP/IP) transfer the | ||
| data in chunks that may be anywhere between single-byte values to several | ||
| dozens of Kilobytes. You may want to apply a higher-level protocol to |
| * $stream->end(); | ||
| * ``` | ||
| * | ||
| * Afer calling this method, the stream MUST switch into a non-writable |
| * $stream->close(); | ||
| * ``` | ||
| * | ||
| * Afer calling this method, the stream MUST switch into a non-writable |
| * | ||
| * If this stream is a `DuplexStreamInterface`, you should also notice | ||
| * how the readable side of the stream also implements a `close()` method. | ||
| * In other words, afer calling this method, the stream MUST switch into |
jsor approved these changes Mar 6, 2017
clue deleted the method-semantics branch
March 7, 2017 10:04This was referenced
Mar 7, 2017Merged
Merged
Closed
clue
mentioned this pull request
Merged
clue
mentioned this pull request
Closed
clue
mentioned this pull request
Merged