Lists all open lobbies.
Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, ListLobbiesCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, ListLobbiesCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new ListLobbiesCommand(input); const response = await client.send(command);
ListLobbiesCommandInput for command's input shape.
input
ListLobbiesCommandOutput for command's response shape.
response
config for MatchmakerServiceClient's config shape.
config
Lists all open lobbies.
Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, ListLobbiesCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, ListLobbiesCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new ListLobbiesCommand(input); const response = await client.send(command);ListLobbiesCommandInput for command's
inputshape.ListLobbiesCommandOutput for command's
responseshape.config for MatchmakerServiceClient's
configshape.