Skip to main content

rSUNCHttpResponse

Type

Properties

Body

rSUNCHttpResponse.Body: string

The response of the HTTP Server.

StatusMessage

rSUNCHttpResponse.StatusMessage: string

A string representation of the StatusCode property.

StatusCode

rSUNCHttpResponse.StatusCode: number

The Http Status Code of the request.

Headers

rSUNCHttpResponse.Headers: {[string]string}

Table of HTTP headers.

Success

rSUNCHttpResponse.Success: boolean

Whether the request was successful.

Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "Body",
            "desc": "The response of the HTTP Server.",
            "lua_type": "string",
            "source": {
                "line": 13,
                "path": "impl/Types/rSUNCHttpResponse.luau"
            }
        },
        {
            "name": "StatusMessage",
            "desc": "A string representation of the `StatusCode` property.    ",
            "lua_type": "string",
            "source": {
                "line": 21,
                "path": "impl/Types/rSUNCHttpResponse.luau"
            }
        },
        {
            "name": "StatusCode",
            "desc": "The Http Status Code of the request.",
            "lua_type": "number",
            "source": {
                "line": 29,
                "path": "impl/Types/rSUNCHttpResponse.luau"
            }
        },
        {
            "name": "Headers",
            "desc": "Table of HTTP headers.",
            "lua_type": "{ [string]: string }",
            "source": {
                "line": 37,
                "path": "impl/Types/rSUNCHttpResponse.luau"
            }
        },
        {
            "name": "Success",
            "desc": "Whether the request was successful.",
            "lua_type": "boolean",
            "source": {
                "line": 45,
                "path": "impl/Types/rSUNCHttpResponse.luau"
            }
        }
    ],
    "types": [],
    "name": "rSUNCHttpResponse",
    "desc": "",
    "tags": [
        "Type"
    ],
    "source": {
        "line": 5,
        "path": "impl/Types/rSUNCHttpResponse.luau"
    }
}