Advertisement
Serafim

Untitled

Mar 1st, 2016
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.98 KB | None | 0 0
  1. array(2) {
  2.   [0]=>
  3.   int(1)
  4.   [1]=>
  5.   NULL
  6. }
  7. array(2) {
  8.   [0]=>
  9.   int(3)
  10.   [1]=>
  11.   string(288) "GET /v1/rooms/560281040fc9f982beb1908a HTTP/1.1
  12. Content-Length: 1
  13. Accept: application/json
  14. Content-Type: application/json
  15. Authorization: Bearer .........
  16. Accept-Encoding: gzip, identity
  17. Host: stream.gitter.im
  18. User-Agent: Amp\Artax/1.0.0-dev (PHP)
  19.  
  20. "
  21. }
  22. array(2) {
  23.   [0]=>
  24.   int(4)
  25.   [1]=>
  26.   object(Amp\Artax\Request)#13 (6) {
  27.    ["method":"Amp\Artax\Request":private]=>
  28.     string(3) "GET"
  29.     ["uri":"Amp\Artax\Request":private]=>
  30.     string(58) "https://stream.gitter.im/v1/rooms/560281040fc9f982beb1908a"
  31.     ["protocol":"Amp\Artax\Message":private]=>
  32.     string(3) "1.1"
  33.     ["headers":"Amp\Artax\Message":private]=>
  34.     array(7) {
  35.       ["Content-Length"]=>
  36.       array(1) {
  37.         [0]=>
  38.         int(1)
  39.       }
  40.       ["Accept"]=>
  41.       array(1) {
  42.         [0]=>
  43.         string(16) "application/json"
  44.       }
  45.       ["Content-Type"]=>
  46.       array(1) {
  47.         [0]=>
  48.         string(16) "application/json"
  49.       }
  50.       ["Authorization"]=>
  51.       array(1) {
  52.         [0]=>
  53.         string(47) "Bearer ........."
  54.       }
  55.       ["Accept-Encoding"]=>
  56.       array(1) {
  57.         [0]=>
  58.         string(14) "gzip, identity"
  59.       }
  60.       ["Host"]=>
  61.       array(1) {
  62.         [0]=>
  63.         string(16) "stream.gitter.im"
  64.       }
  65.       ["User-Agent"]=>
  66.       array(1) {
  67.         [0]=>
  68.         string(25) "Amp\Artax/1.0.0-dev (PHP)"
  69.       }
  70.     }
  71.     ["headerCaseMap":"Amp\Artax\Message":private]=>
  72.     array(7) {
  73.       ["CONTENT-LENGTH"]=>
  74.       string(14) "Content-Length"
  75.       ["ACCEPT"]=>
  76.       string(6) "Accept"
  77.       ["CONTENT-TYPE"]=>
  78.       string(12) "Content-Type"
  79.       ["AUTHORIZATION"]=>
  80.       string(13) "Authorization"
  81.       ["ACCEPT-ENCODING"]=>
  82.       string(15) "Accept-Encoding"
  83.       ["HOST"]=>
  84.       string(4) "Host"
  85.       ["USER-AGENT"]=>
  86.       string(10) "User-Agent"
  87.     }
  88.     ["body":"Amp\Artax\Message":private]=>
  89.     string(0) ""
  90.   }
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement