Options
All
  • Public
  • Public/Protected
  • All
Menu

If is_closed is true, players will be prevented from joining the lobby. Does not shutdown the lobby.

example

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

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

SetLobbyClosedCommandInput for command's input shape.

see

SetLobbyClosedCommandOutput for command's response shape.

see

config for MatchmakerServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: SetLobbyClosedCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<SetLobbyClosedCommandInput, SetLobbyClosedCommandOutput>