Skip to content

RelayOptions beta ​

Interface of @v12-engine/engine/server

ts
export interface RelayOptions

What a WatchRelay is started with: the port, compression and the log

Members ​

compress ​

ts
compress?: boolean;

Whether to compress what goes over connections whose other end can take it (permessage-deflate); yes when left out

log ​

ts
log?: ServerLog;

Where it says what it does, as GameServerOptions.log

port ​

ts
port: number;

Port to listen on: 0 for any free one