OpenMS
Loading...
Searching...
No Matches
Network.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Chris Bielow $
6// $Authors: Chris Bielow $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/config.h>
12#include <string>
13
14namespace OpenMS
15{
17 class OPENMS_DLLAPI Network
18 {
19 public:
27 static void downloadFile(const std::string& url, const std::string& download_folder);
28 };
29}
Utility class for network operations (HTTP downloads)
Definition Network.h:18
static void downloadFile(const std::string &url, const std::string &download_folder)
Download file from given URL into a download folder. Returns when done.
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19