DEV Community

Discussion on: Truth OR Dare | Let's FUN

 
winstonpuckett profile image
Winston Puckett

Without looking it up, I think it's:

await HttpClient.GetAsync(message);

// And possibly synchronously:
HttpClient.Get(message);
Enter fullscreen mode Exit fullscreen mode

But without looking it up, I'm not sure if Get() is part of the interface 🤔

Thread Thread
 
slimdestro profile image
D\sTro

HttpClient.GetAsync(message)
this one is Async and i also dont think .get() is still operational.