RemoteOptions
Properties
Section titled “Properties”accounts?
Section titled “accounts?”
optionalaccounts?:Tickets<AccountClaims>
checks the tickets of signed-in players (made by accountTicket with the same secret): their seat is “u:
address?
Section titled “address?”
optionaladdress?: (req) =>string
the client address after your trusted-proxy rule (default: the socket’s address)
Parameters
Section titled “Parameters”IncomingMessage
Returns
Section titled “Returns”string
deployment
Section titled “deployment”deployment: (
id) =>Deployment|Promise<Deployment|null|undefined> |null|undefined
look a deployment up by id (your table, a JSON file); null or undefined = no such deployment
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Deployment | Promise<Deployment | null | undefined> | null | undefined
heartbeat?
Section titled “heartbeat?”
optionalheartbeat?:Heartbeat
hub:
RoomHub
optionaljwt?:JwtVerifier
checks provider JWTs for deployments with auth (default: a new JwtVerifier)
optionalpath?:string
socket path (default “/room”)