Value object that represents a HTTP(S) query response. More...
Public Member Functions | |
__construct (array $data, TranslationQuery $query) | |
getStatusCode () | |
getStatusMessage () | |
getBody () | |
getQuery () | |
Get the TranslationQuery that was made for this request. | |
Value object that represents a HTTP(S) query response.
Definition at line 12 of file TranslationQueryResponse.php.
MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::__construct | ( | array | $data, |
TranslationQuery | $query ) |
Definition at line 21 of file TranslationQueryResponse.php.
MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getBody | ( | ) |
Definition at line 44 of file TranslationQueryResponse.php.
MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getQuery | ( | ) |
Get the TranslationQuery that was made for this request.
Definition at line 52 of file TranslationQueryResponse.php.
MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getStatusCode | ( | ) |
Definition at line 32 of file TranslationQueryResponse.php.
MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getStatusMessage | ( | ) |
Definition at line 36 of file TranslationQueryResponse.php.