MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getStream

Method getStream

src/Server/HTTP/HTTPServerRequest.h:35–41  ·  view source on GitHub ↗

Returns the input stream for reading the request body.

Source from the content-addressed store, hash-verified

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

Callers 8

processQueryMethod · 0.45
getRawBytesFromRequestFunction · 0.45
processQueryMethod · 0.45
getQueryMethod · 0.45
handleRequestMethod · 0.45
drainRequestIfNeededFunction · 0.45

Calls 2

use_countMethod · 0.80
getLoggerFunction · 0.50

Tested by

no test coverage detected