Returns the input stream for reading the request body.
| 33 | |
| 34 | /// Returns the input stream for reading the request body. |
| 35 | ReadBufferPtr getStream() |
| 36 | { |
| 37 | std::lock_guard lock(get_stream_mutex); |
| 38 | poco_check_ptr(stream); |
| 39 | LOG_TEST(getLogger("HTTPServerRequest"), "Returning request input stream with ref count {}", stream.use_count()); |
| 40 | return stream; |
| 41 | } |
| 42 | |
| 43 | bool checkPeerConnected() const; |
| 44 |
no test coverage detected