Addded Romeo that generates some doc. WIP.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <Core/Common/String.h>
|
||||
|
||||
namespace Romeo
|
||||
{
|
||||
class HttpClient
|
||||
{
|
||||
public:
|
||||
// Sends a POST request over HTTP/HTTPS.
|
||||
// Response data is allocated on the provided arena and returned in outResponse.
|
||||
[[nodiscard]] static bool Post(
|
||||
Juliet::Arena* arena,
|
||||
const Juliet::String& host,
|
||||
int port,
|
||||
const Juliet::String& path,
|
||||
bool isHttps,
|
||||
const Juliet::String& requestBody,
|
||||
Juliet::String& outResponse
|
||||
);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user