.. index:: pair: class; gpr::track::MlflowRestClient .. _doxid-classgpr_1_1track_1_1_mlflow_rest_client: class gpr::track::MlflowRestClient ================================== .. toctree:: :hidden: struct_gpr_track_MlflowRestClient_Response.rst Overview ~~~~~~~~ A plain HTTP/1.1 client over a POSIX socket for the MLflow REST API (```http://host:port `__[/prefix]``). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class MlflowRestClient { public: // structs struct :ref:`Response`; // construction :ref:`MlflowRestClient`(std::string_view tracking_uri, double timeout_seconds); // methods :ref:`Response` :target:`post`(const std::string& path, const std::string& json) const; :ref:`Response` :target:`put`(const std::string& path, const std::string& body, const std::string& content_type) const; :ref:`Response` :target:`get`(const std::string& path) const; const std::string& :target:`host`() const; int :target:`port`() const; const std::string& :target:`prefix`() const; }; .. _details-classgpr_1_1track_1_1_mlflow_rest_client: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A plain HTTP/1.1 client over a POSIX socket for the MLflow REST API (```http://host:port `__[/prefix]``). No TLS: a tracking server on a login node or a tunnel is reached in the clear, which is how ``mlflow server`` listens by default. Construction ------------ .. index:: pair: function; MlflowRestClient .. _doxid-classgpr_1_1track_1_1_mlflow_rest_client_1a6934bd5fcc7904d13d64eee245f92c47: .. ref-code-block:: cpp :class: doxyrest-title-code-block MlflowRestClient(std::string_view tracking_uri, double timeout_seconds) Throws std::invalid_argument on a URI that is not plain http.