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
stringthe single value for the header.
headers() : \io\vertx\jphp\core\MultiMap
is( $arg0) : boolean
string
booleantrue if the header matches
jsonArray() : array
arraya JsonArray from the HTTP response body
jsonObject() : array
arraya JsonObject from the HTTP response body
statusCode() : integer
integerHTTP status code