<?php | |
require_once 'scripts/__init_script__.php'; | |
$result = id(new HTTPSFuture('http://127.0.0.1:22281/status/')) | |
->resolvex(); | |
var_dump($result); |
Event Timeline
Comment Actions
JSON array(2) { [0]=> string(99) "{"uptime":497626,"clients.active":1,"clients.total":1,"messages.in":0,"messages.out":0,"version":6}" [1]=> array(4) { [0]=> array(2) { [0]=> string(12) "Content-Type" [1]=> string(16) "application/json" } [1]=> array(2) { [0]=> string(4) "Date" [1]=> string(29) "Sun, 15 Feb 2015 01:49:47 GMT" } [2]=> array(2) { [0]=> string(10) "Connection" [1]=> string(10) "keep-alive" } [3]=> array(2) { [0]=> string(17) "Transfer-Encoding" [1]=> string(7) "chunked" } } }