forked from boostorg/beast
Add read, async_read for message_headers:
fix #172, fix #173 This provides overloads of read and async_read to allow reading message_headers objects.
This commit is contained in:
@@ -106,8 +106,10 @@ parse(SyncReadStream& stream,
|
||||
This operation is implemented in terms of one or more calls to
|
||||
the next layer's `async_read_some` function, and is known as a
|
||||
<em>composed operation</em>. The program must ensure that the
|
||||
stream performs no other operations until this operation
|
||||
completes.
|
||||
stream performs no other operations until this operation completes.
|
||||
The implementation may read additional octets that lie past the
|
||||
end of the object being parsed. This additional data is stored
|
||||
in the stream buffer, which may be used in subsequent calls.
|
||||
|
||||
@param stream The stream from which the data is to be read.
|
||||
The type must support the @b AsyncReadStream concept.
|
||||
|
||||
Reference in New Issue
Block a user