I am trying to use HttpContent
:
HttpContent myContent = HttpContent.Create(SOME_JSON);
...but I am not having any luck finding the DLL where it is defined.
First, I tried adding references to Microsoft.Http
as well as System.Net
, but neither is in the list. I also tried adding a reference to System.Net.Http
but the HttpContent
class is not available.
So, can anyone tell me where I can find the HttpContent
class?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…