Skip to main content

HttpResponse

ZEPETO.Multiplay.HttpService.HttpResponse

Represents an HTTP Response.

Properties

response

Readonly response: string

The body of the HTTP response, which may vary in format based on the response's Content-Type. It is recommended to use an appropriate parser based on the specific Content-Type received.


statusCode

Readonly statusCode: number

The status code of the response. Typically, 200 indicates a successful request.


statusText

Readonly statusText: string

The status message corresponding to the status code. Typically, "OK" indicates a successful request.