public static async Task <HttpRequestMessage> ToHttpRequestMessage(this Task <string> messageString) { if (messageString == null) { return(null); } return(HttpRequestMessageParser.Parse(await messageString)); }
public static HttpRequestMessage ToHttpRequestMessage(this string messageString) { if (messageString == null) { return(null); } return(HttpRequestMessageParser.Parse(messageString)); }