using System; using System.Collections.Generic; using System.Net; using System.Net.Http; namespace Gestor.Common.Helpers; public static class HttpHelper { public static HttpRequestMessage CreateRequest(this Uri requestUri, HttpMethod httpMethod, Version httpVersion = null) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Expected O, but got Unknown return new HttpRequestMessage { Version = (httpVersion ?? HttpVersion.Version11), RequestUri = requestUri, Method = httpMethod }; } public static FormUrlEncodedContent Encode(this List> keyValuePairs) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Expected O, but got Unknown return new FormUrlEncodedContent((IEnumerable>)keyValuePairs); } }