From b68a44932f1c3176e13284e19578bfb6e2ee07f6 Mon Sep 17 00:00:00 2001 From: AnturK Date: Fri, 15 Jan 2021 20:48:41 +0100 Subject: [PATCH] Exposes http_request options in dm defines --- dmsrc/http.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmsrc/http.dm b/dmsrc/http.dm index 09966387..93d964bb 100644 --- a/dmsrc/http.dm +++ b/dmsrc/http.dm @@ -4,6 +4,6 @@ #define RUSTG_HTTP_METHOD_PATCH "patch" #define RUSTG_HTTP_METHOD_HEAD "head" #define RUSTG_HTTP_METHOD_POST "post" -#define rustg_http_request_blocking(method, url, body, headers) call(RUST_G, "http_request_blocking")(method, url, body, headers) -#define rustg_http_request_async(method, url, body, headers) call(RUST_G, "http_request_async")(method, url, body, headers) +#define rustg_http_request_blocking(method, url, body, headers, options) call(RUST_G, "http_request_blocking")(method, url, body, headers, options) +#define rustg_http_request_async(method, url, body, headers, options) call(RUST_G, "http_request_async")(method, url, body, headers, options) #define rustg_http_check_request(req_id) call(RUST_G, "http_check_request")(req_id)