Options
All
  • Public
  • Public/Protected
  • All
Menu

Finds a lobby based on the given criteria. If a lobby is not found and prevent_auto_create_lobby is true, a new lobby will be created.

example

Use a bare-bones client and the command you need to make an API call.

import { MatchmakerServiceClient, FindLobbyCommand } from "@rivet-gg/matchmaker"; // ES Modules import
// const { MatchmakerServiceClient, FindLobbyCommand } = require("@rivet-gg/matchmaker"); // CommonJS import
const client = new MatchmakerServiceClient(config);
const command = new FindLobbyCommand(input);
const response = await client.send(command);
see

FindLobbyCommandInput for command's input shape.

see

FindLobbyCommandOutput for command's response shape.

see

config for MatchmakerServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: FindLobbyCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<FindLobbyCommandInput, FindLobbyCommandOutput>