beamable-sdk / network/http/types/HttpResponse / HttpResponse
Interface: HttpResponse<TRes>¶
Defined in: src/network/http/types/HttpResponse.ts:5
Represents the structure of an HTTP response.
Type Parameters¶
TRes¶
TRes = any
The expected type of the response payload.
Properties¶
body¶
body:
TRes
Defined in: src/network/http/types/HttpResponse.ts:13
The response payload parsed into the expected type TRes.
headers¶
headers:
Record<string,string>
Defined in: src/network/http/types/HttpResponse.ts:10
A collection of HTTP headers included in the response.
status¶
status:
number
Defined in: src/network/http/types/HttpResponse.ts:7
The HTTP status code returned by the server (e.g., 200, 404, 500).