Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
ServerScriptCurlHelpers.h
Go to the documentation of this file.
1
2#pragma once
3
4#ifdef USE_CURL
5
6#include "CurlHelpers.h" // RIGSOFRODS: This is actually the client's header with same name as original server header. Both implement the same functionality but with cosmetic differences.
7
8namespace RoR { // RIGSOFRODS
9
18
19void ServerScriptCurlRequestThreadFunc(CurlTaskContext context);
20
21} // namespace RoR
22
23#endif // USE_CURL
void ServerScriptCurlRequestThreadFunc(CurlTaskContext context)
@ CURL_STATUS_START
New CURL request started, n1/n2 both 0.
@ CURL_STATUS_INVALID
Should never be reported.
@ CURL_STATUS_SUCCESS
CURL request finished, n1 = CURL return code, n2 = HTTP result code, message = received payload.
@ CURL_STATUS_FAILURE
CURL request finished, n1 = CURL return code, n2 = HTTP result code, message = CURL error string.
@ CURL_STATUS_PROGRESS
Download in progress, n1 = bytes downloaded, n2 = total bytes.