We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e719cf commit 885bebbCopy full SHA for 885bebb
build/extracted-examples/guides/hack/21-XHP/16-extending/xhp-async.inc.hack
@@ -8,7 +8,7 @@ use namespace Facebook\XHP\Core as x;
8
final xhp class ui_get_status extends x\element {
9
10
protected async function renderAsync(): Awaitable<x\node> {
11
- $ch = \curl_init('https://status.fb.com/graph-api');
+ $ch = \curl_init('https://metastatus.com/graph-api');
12
\curl_setopt($ch, \CURLOPT_USERAGENT, 'hhvm/user-documentation example');
13
$status = await \HH\Asio\curl_exec($ch);
14
return <x:frag>Status is: {$status}</x:frag>;
0 commit comments