Skip to content

Response

Overview

Represents the response for a request received by the client.

Properties

Data

response.Data: { [Player]: any }

The data in the response. :GetPersonal() should be used rather than this.

ReqId

response.ReqId: string

Always equivelant to the requester.ID of the requester that received this response.

ServerInvoked

response.ServerInvoked: boolean

Is true if this request was created with :PushRequest() from the server.

Methods

Get

response:Get(
    player: Player
) -> any

{deprecated}

:GetPersonal() should be used in place of this in newer work.

GetPersonal

response:GetPersonal() -> any

Returns the data passed in the request. Will be equivelant to the return value of playerHandler:Request().