WIP: CURL/request implementation.
This commit is contained in:
15
source/mijin/net/request.hpp
Normal file
15
source/mijin/net/request.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(MIJIN_NET_REQUST_HPP_INCLUDED)
|
||||
#define MIJIN_NET_REQUST_HPP_INCLUDED 1
|
||||
|
||||
#include "./http.hpp"
|
||||
#include "../internal/common.hpp"
|
||||
|
||||
namespace mijin
|
||||
{
|
||||
Task<StreamResult<HTTPResponse>> c_request(const URL& url, HTTPRequest request = {}) MIJIN_NOEXCEPT;
|
||||
} // namespace mijin
|
||||
|
||||
#endif // !defined(MIJIN_NET_REQUST_HPP_INCLUDED)
|
||||
Reference in New Issue
Block a user