HTTPResponse.status() 方法
¥HTTPResponse.status() method
响应的状态代码(例如,200 表示成功)。
¥The status code of the response (e.g., 200 for a success).
签名
¥Signature
class HTTPResponse {
abstract status(): number;
}
Returns:
number
¥HTTPResponse.status() method
响应的状态代码(例如,200 表示成功)。
¥The status code of the response (e.g., 200 for a success).
¥Signature
class HTTPResponse {
abstract status(): number;
}
Returns:
number