RemoteOptions
Properties
Section titled “Properties”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
optionalpath?:string
socket path (default “/room”)