From d5ba2402df60eff8303d3c405ffaed9b439d5e07 Mon Sep 17 00:00:00 2001 From: Metin Cakircali Date: Fri, 11 Oct 2024 15:38:34 +0200 Subject: [PATCH] feat(MarsRequest): parameters accessor --- src/metkit/mars/MarsRequest.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/metkit/mars/MarsRequest.h b/src/metkit/mars/MarsRequest.h index bb826eb..318d7bd 100644 --- a/src/metkit/mars/MarsRequest.h +++ b/src/metkit/mars/MarsRequest.h @@ -73,7 +73,9 @@ class MarsRequest { void getParams(std::vector&) const; std::vector params() const; - + + std::list& parameters() { return params_; } + const std::list& parameters() const { return params_; } void verb(const std::string&);