File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 3333[template refmem[class mem][reflink2 [class].[mem] [class]::[mem]]]
3434[template refmemunq[class mem][reflink2 [class].[mem] [mem]]]
3535[template asioreflink[id term][@boost:/doc/html/boost_asio/reference/[id].html [^boost::asio::[term]]]]
36+ [template asioreflink2[id term][@boost:/doc/html/boost_asio/reference/[id].html [term]]]
3637[template beastreflink[id term][@boost:/libs/beast/doc/html/beast/ref/[id].html [^boost::beast::[term]]]]
3738[template beastconceptslink[id term][@boost:/libs/beast/doc/html/beast/concepts/[id].html [term]]]
3839[template mqttlink[id text][@https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc[id] [text]]]
Original file line number Diff line number Diff line change 1010
1111`StreamType` should meet the [beastconceptslink streams AsyncStream] concept.
1212
13+ [note
14+ Because __WEBSOCKET_STREAM__ does not satisfy [asioreflink2 AsyncWriteStream [^AsyncWriteStream]],
15+ requirements were relaxed to allow a stream to provide [*`async_write`] operation instead of [*`async_write_some`].
16+
17+ With [asioreflink2 ConstBufferSequence [^ConstBufferSequence]] cb and __CompletionToken__ t,
18+ [*`s.async_write(cb, t)`] should meet the requirements of an [asioreflink2 asynchronous_operations asynchronous operation]
19+ with the completion signature `void(error_code ec, size_t n)` and should write all the supplied data to the stream.
20+ ]
21+
1322It should follow Asio's layered stream model by having a `lowest_layer_type` member type,
1423and a `lowest_layer` member function, returing a `lowest_layer_type&`.
1524The `lowest_layer_type` should inherit from __TCP_SOCKET__.
You can’t perform that action at this time.
0 commit comments