OAuthResponse

Overview

The OAuthResponse class is used to handle HTTP responses in the context of OAuth-based API interactions. It provides mechanisms to retrieve the HTTP status code, individual header values, and all header names associated with the response.

Key functionalities include the ability to fetch the HTTP status code through getCode(), retrieve a specific header value using getHeader(name), and obtain a list of all headers with getHeaders().

Methods Summarized

Methods Detailed

getCode()

Returns: Number

getHeader(name)

Parameters

Returns: String

getHeaders()

Returns: Array


Last updated