A response from a fetch request.
This class represents a secure response from a Oauth2 fetch call.
A fetch is a simplified HTTP response from a protected resource.
package |
Default |
---|
__construct()
body() : \io\vertx\jphp\core\buffer\Buffer
getHeader( $arg0) : string
string
string
the single value for the header.
headers() : \io\vertx\jphp\core\MultiMap
is( $arg0) : boolean
string
boolean
true if the header matches
jsonArray() : array
array
a JsonArray from the HTTP response body
jsonObject() : array
array
a JsonObject from the HTTP response body
statusCode() : integer
integer
HTTP status code