Function WebSocketServer.disconnectPeer

Disconnects the peer identified by id from the server. See WebSocketPeer.close for more information.

void disconnectPeer (
  const(long) id,
  const(long) code = 1000L,
  const(String) reason = GodotStringLiteral().str()
) nothrow @nogc;