Options
All
  • Public
  • Public/Protected
  • All
Menu

Marks the current lobby as ready to accept connections. Players will not be able to connect to this lobby until the lobby is flagged as ready.

example

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

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

LobbyReadyCommandInput for command's input shape.

see

LobbyReadyCommandOutput for command's response shape.

see

config for MatchmakerServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: LobbyReadyCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<LobbyReadyCommandInput, LobbyReadyCommandOutput>