MCPcopy Create free account
hub / github.com/AimRT/AimRT / GetMutableRequest

Method GetMutableRequest

src/plugins/grpc_plugin/http2/session.h:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 void SetRequest(const RequestPtr& request_ptr) { request_ptr_ = request_ptr; }
37 [[nodiscard]] const RequestPtr& GetRequest() const { return request_ptr_; }
38 RequestPtr GetMutableRequest() { return std::move(request_ptr_); }
39
40 void SetResponse(const ResponsePtr& response_ptr) { response_ptr_ = response_ptr; }
41 [[nodiscard]] const ResponsePtr& GetResponse() const { return response_ptr_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected