ModemRequestResponse
Body
The body of the response, is usually a JSON string.
It is of the type any.
It is read-only, it cannot be assigned to.
Headers
The headers of the response.
[string]
It is of the type any.
It is read-only, it cannot be assigned to.
It is read-only, it cannot be assigned to.
StatusCode
The HTTP status code of the response.
It is of the type number.
It is read-only, it cannot be assigned to.
StatusMessage
The HTTP status message of the response.
It is of the type string.
It is read-only, it cannot be assigned to.
Success
Whether the request was successful or not.
It is of the type boolean.
It is read-only, it cannot be assigned to.
Luau Type
This is the luau type for ModemRequestResponse. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
export type ModemRequestResponse = {
read StatusMessage: string,
read Success: boolean,
read StatusCode: number,
read Headers: {
read [string]: any,
},
read Body: any,
}