20 lines
235 B
Markdown
20 lines
235 B
Markdown
---
|
|
sidebar_label: HTTPResponse.status
|
|
---
|
|
|
|
# HTTPResponse.status() method
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
class HTTPResponse {
|
|
status(): number;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
The status code of the response (e.g., 200 for a success).
|