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

Method set_stream_creator

src/brpc/controller.cpp:1515–1521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1513}
1514
1515void Controller::set_stream_creator(StreamCreator* sc) {
1516 if (_stream_creator) {
1517 LOG(FATAL) << "A StreamCreator has been set previously";
1518 return;
1519 }
1520 _stream_creator = sc;
1521}
1522
1523butil::intrusive_ptr<ProgressiveAttachment>
1524Controller::CreateProgressiveAttachment(StopStyle stop_style) {

Callers 2

InitMethod · 0.80
SerializeHttpRequestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected