MCPcopy Create free account
hub / github.com/apache/brpc / request_will_be_read_progressively

Method request_will_be_read_progressively

src/brpc/controller.h:330–330  ·  view source on GitHub ↗

Make the RPC end when the HTTP request has complete headers and let user read the remaining body by using ReadProgressiveAttachmentBy().

Source from the content-addressed store, hash-verified

328 // Make the RPC end when the HTTP request has complete headers and let
329 // user read the remaining body by using ReadProgressiveAttachmentBy().
330 void request_will_be_read_progressively() { add_flag(FLAGS_READ_PROGRESSIVELY); }
331 // True if response_will_be_read_progressively() was called.
332 bool is_response_read_progressively() const { return has_flag(FLAGS_READ_PROGRESSIVELY); }
333

Callers 2

UploadMethod · 0.80
UploadFailedMethod · 0.80

Calls

no outgoing calls

Tested by 2

UploadMethod · 0.64
UploadFailedMethod · 0.64