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